|
|
Stratego/XT
Created: 2006-04-06 15:23
Updated: 2008-03-31 20:46
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
0.17
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
For example, I did
$ sglri -p PHP.def < example.php
$ echo $?
1
Of course, PHP.def should have been PHP.tbl. But sglri should at least print out an error message.
Strangely, it doesn't to this for all files. Usually it just gives an ATerm error:
$ sglri -p /dev/null
readFromTextFile: parse error at line 0, col 0
not a valid term
|
|
Description
|
For example, I did
$ sglri -p PHP.def < example.php
$ echo $?
1
Of course, PHP.def should have been PHP.tbl. But sglri should at least print out an error message.
Strangely, it doesn't to this for all files. Usually it just gives an ATerm error:
$ sglri -p /dev/null
readFromTextFile: parse error at line 0, col 0
not a valid term
|
Show » |
|
|
We'll need to do something with a failed open-parse-table in sglri.