Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong lookahead action #20

Closed
lsf37 opened this issue Feb 15, 2015 · 0 comments
Closed

wrong lookahead action #20

lsf37 opened this issue Feb 15, 2015 · 0 comments
Labels
bug Not working as intended

Comments

@lsf37
Copy link
Member

lsf37 commented Feb 15, 2015

Reported by lsf37 on 2001-02-28 13:45 UTC
The rules

"ab" { System.out.print("AB"); }
"a"/"b" { System.out.print("A"); }

give you with input ab the output ABb and not the
correct AB. If the rules are in reversed order
("a"/"b" and then "ab") it works ok.

This bug was reported by Tibi.

(fixed in 1.3)

@lsf37 lsf37 added the bug Not working as intended label Feb 15, 2015
@lsf37 lsf37 closed this as completed Feb 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Projects
None yet
Development

No branches or pull requests

1 participant