zaach/jison — Issue #67: Line beginning identifier (^) not work.
Author: neizod
Created: 2011-10-24 21:18:07+00:00
State: open

In the lexer part:

"a" return 'BODY';
^"a" return 'HEAD';

test case: `a a` return token: `BODY` `BODY` while

^"a" return 'HEAD';
"a" return 'BODY';

return token: `HEAD` `HEAD`. (expected: `HEAD` `BODY`)