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

[Bug] non unix newlines in spec [sf#29] #31

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

[Bug] non unix newlines in spec [sf#29] #31

lsf37 opened this issue Feb 15, 2015 · 0 comments
Labels
bug

Comments

@lsf37
Copy link
Member

@lsf37 lsf37 commented Feb 15, 2015

Reported by lsf37 on 2001-02-28 13:57 UTC
The new error reporting is a bit too eager: on Windows
and Mac platforms, JFlex doesn't recognize the %buffer,
%initthrow, %eofthrow, and %yylexthrow directives.
Reason: the \r line terminator is not parsed correctly
for these directives.

Workaround: Use the alternative form of the directive
for %initthrow, %eofthrow, and %yylexthrow, or set your
editor to use Unix \n line feeds.

This bug was reported by Hans Kratz and Thilo Goetz.

(fixed in 1.3.1)

@lsf37 lsf37 changed the title non unix newlines in spec [Bug] non unix newlines in spec [sf#29] Feb 15, 2015
@lsf37 lsf37 added this to the jflex bug milestone Feb 15, 2015
@lsf37 lsf37 closed this Feb 15, 2015
@lsf37 lsf37 added the bug label Feb 17, 2015
@lsf37 lsf37 modified the milestone: jflex bug Feb 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.