Matching fails with annotations in interpreter
The following stratego code works fine when compiled with either strc or strj. When used in the interpreter, both matches fail.
!"aaa"{"bbb"} ; where(try(?"aaa"; debug(!"Match aaa: "))) ; where(try(?"aaa"{"bbb"}; debug(!"Match aaa{bbb}: ")))
Output of compiled version:
Submitted by Nathan Bruning on 1 April 2010 at 14:40Match aaa: aaa Match aaa{bbb}: aaa
Issue Log
On 1 April 2010 at 14:44 Lennart Kats commented:
That’s very strange. I thought I fixed this bug a long time ago.
On 1 April 2010 at 15:15 Lennart Kats commented:
Fixed as of r20746. Apparently this wasn’t fixed for strings yet.
Log in to post comments