-
Notifications
You must be signed in to change notification settings - Fork 117
Pipe "|" action does not work for <<EOF>> rules #201
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
Comments
Thanks for spotting that and posting the workaround. Will have a look. |
regisd
added a commit
to regisd/jflex
that referenced
this issue
Oct 5, 2018
regisd
added a commit
that referenced
this issue
Oct 7, 2018
lsf37
added a commit
that referenced
this issue
Jan 3, 2020
Previously "<<EOF>> |" did not compile unless it was the last in a series of pipe actions (i.e. <<EOF>> always expected "{}"). Fixes #201
lsf37
added a commit
that referenced
this issue
Jan 3, 2020
Previously "<<EOF>> |" did not compile unless it was the last in a series of pipe actions (i.e. <<EOF>> always expected "{}"). Fixes #201
regisd
pushed a commit
that referenced
this issue
Jan 3, 2020
commit 82b9a5e Author: Gerwin Klein <lsf@jflex.de> AuthorDate: Fri Jan 3 18:58:24 2020 +0800 Commit: GitHub <noreply@github.com> CommitDate: Fri Jan 3 18:58:24 2020 +0800 Enable pipe action for <<EOF>> rules. (#706) Previously "<<EOF>> |" did not compile unless it was the last in a series of pipe actions (i.e. <<EOF>> always expected "{}"). Fixes #201 Updated from target/jflex-parent-1.8.0-SNAPSHOT-sources.jar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to the JFlex manual, the grammar for a
Rule
isHowever, if the action for an
<<EOF>>
rule is a pipe, then the generator fails. Below is a snippet which should reproduce the behavior.Error
Reproduction
Workaround
The text was updated successfully, but these errors were encountered: