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

%option noline generates and error message #56

Closed
srivasta opened this issue Feb 17, 2016 · 1 comment
Closed

%option noline generates and error message #56

srivasta opened this issue Feb 17, 2016 · 1 comment

Comments

@srivasta
Copy link
Contributor

Hi,

This bug was reported by a Debian user in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729693

credit.l.txt

> flex credit.l
credit.l:2: unrecognized %option: line
> egrep option credit.l 
%option noyywrap
%option noline

Manoj

tklauser added a commit to tklauser/flex that referenced this issue Feb 23, 2016
Allow to specify '%option noline' in the input file, leading to the same
effect as calling flex with the command line option --noline

This fixes the issue reported in westes#56.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@westes westes closed this as completed Feb 24, 2016
@westes
Copy link
Owner

westes commented Feb 24, 2016

As per the most recent change to master, this is now resolved.

eric-s-raymond added a commit to eric-s-raymond/flex that referenced this issue Oct 2, 2020
…gh ctrl.

Includes handling of --nounistd, --always_interactive, --never_interactive, --stack,
their corresponding lexer items, and and noinput.

An unavoidable side effect is that the place where "#define
YY_NO_INPUT 1" is inserted, if it's inserted. has to move because it's
done by a different route - m4 expansion rather than the action_define
function (which is now gone - this was the last use). I have put the
new insertion point just iin time for the first reference to the macro.

Otherwise the only diffs in generarted test code are symbol
definitions becoming visible.

westes#56 in the retargeting patch series
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants