An internal error occurs when compiling an str file with parse-stratego. File does have a syntax error.

Command line:
/nix/store/1q7739nm2n1rd1wr693gmkanajdi4kfy-strategoxt-1.8pre20981/bin/parse-stratego -I . -I /nix/store/n293q3gp0m9mqxi5k08kad102d1d5d17-java-front-0.9.1pre20122/share/java-front -I /nix/store/n293q3gp0m9mqxi5k08kad102d1d5d17-java-front-0.9.1pre20122/share/java-front/languages/java/eblock -I /nix/store/n293q3gp0m9mqxi5k08kad102d1d5d17-java-front-0.9.1pre20122/share/java-front-syntax -I /nix/store/1q7739nm2n1rd1wr693gmkanajdi4kfy-strategoxt-1.8pre20981/share/sdf/gpp -I /nix/store/1q7739nm2n1rd1wr693gmkanajdi4kfy-strategoxt-1.8pre20981/share/sdf/xml-front -I /nix/store/1q7739nm2n1rd1wr693gmkanajdi4kfy-strategoxt-1.8pre20981/share/xml-front -I org/webdsl/dsl/syntax -i org/webdsl/dsl/separation/dr.str -o org/webdsl/dsl/separation/dr.rtree

Output:


[ parse-stratego | error ] org/webdsl/dsl/separation/dr.str: character ‘e’ unexpected at line 21, column 3
[ parse-stratego | error ]
[ parse-stratego | error ] end-record-dynamic-rules =
[ parse-stratego | error ] ^
parse-stratego: rewriting failed, trace:
main_0_0
parse_stratego_io_0_0
xtc_io_wrap_2_0
option_wrap_2_0
option_wrap_4_0
option_wrap_5_0
lifted38
xtc_io_1_0
xtc_temp_files_1_0
restore_always_2_0
lifted31
lifted1
ps_parse_module_trm_0_0
ps_parse_cached_1_0
lifted210
parse_xtc_file_pt_2_3
finally_2_0
[ parse-stratego | critical ] Internal error: with clause failed unexpectedly in rule ‘ps-parse-cached’
“org/webdsl/dsl/separation/dr.str”
make: *** [org/webdsl/dsl/separation/dr.rtree] Error 1

Submitted by Nathan Bruning on 18 June 2010 at 14:10

On 18 June 2010 at 14:22 Lennart Kats closed this issue.

On 18 June 2010 at 14:22 Lennart Kats commented:

I suppose it didn’t report a stack trace before? I changed the with into a where in r21024.

Log in to post comments