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] zzEOFDone not reset in yyreset(Reader) [sf#94] #96

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

[Bug] zzEOFDone not reset in yyreset(Reader) [sf#94] #96

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

Comments

@lsf37
Copy link
Member

lsf37 commented Feb 15, 2015

Reported by nsdahyab on 2008-06-30 23:40 UTC
In 1.4.1 and 1.4.2, the zzEOFDone field isn't reset along with zzAtEOF in the generated yyreset(Reader) method. I don't have 1.4.0 locally to compare its output, but 1.4pre3 doesn't seem to create that field.

@lsf37 lsf37 changed the title zzEOFDone not reset in yyreset(Reader) [Bug] zzEOFDone not reset in yyreset(Reader) [sf#94] Feb 15, 2015
@lsf37 lsf37 added this to the jflex bug milestone Feb 15, 2015
@lsf37 lsf37 closed this as completed Feb 15, 2015
@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Commented by lsf37 on 2008-07-27 06:57 UTC
Logged In: YES
user_id=93534
Originator: NO

Thanks for the report. This is now fixed in revision 380 in the repository.

The zzEOFDone field is generated conditionally. It appears only when the %eofcode directive is used.

A workaround might be to use an <<EOF>> action instead or to edit yyreset in the skeleton file and provide the new version explicitly on the command line.

@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Updated by lsf37 on 2008-07-27 06:57 UTC

  • status: open --> open-fixed

@lsf37
Copy link
Member Author

lsf37 commented Feb 15, 2015

Updated by lsf37 on 2009-01-31 13:12 UTC

  • status: open-fixed --> closed

@lsf37 lsf37 added bug Not working as intended and removed bug Not working as intended labels Feb 17, 2015
@lsf37 lsf37 modified the milestone: jflex bug Feb 17, 2015
@regisd regisd added this to the 1.4.3 milestone Nov 4, 2017
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

2 participants