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] yychar not handled by yypushStream/yypopStream [sf#105] #107

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

[Bug] yychar not handled by yypushStream/yypopStream [sf#105] #107

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

Comments

@lsf37
Copy link
Member

@lsf37 lsf37 commented Feb 15, 2015

Reported by marcusrausch on 2010-01-30 01:11 UTC
The variable 'yychar' is not handled by the methods 'yypushStream' and 'yypopStream'. The appropriate code is missing in the file 'skeleton.nested'.
The method 'yypushStream' should save the variable 'yychar' too in the class 'ZzFlexStreamInfo' and then reset it to zero.
The method 'yypopStream' should restore the variable 'yychar' too from the class 'ZzFlexStreamInfo'.
The class 'ZzFlexStreamInfo' should have the member 'yychar' too and save the respective parameter in it's constructor.
The variable 'yychar' should be handled like 'yyline' and 'yycolumn' in the methods and the class.
The appended file contains my proposal to fix the error.

@lsf37 lsf37 changed the title yychar not handled by yypushStream/yypopStream [Bug] yychar not handled by yypushStream/yypopStream [sf#105] Feb 15, 2015
@lsf37 lsf37 added this to the jflex bug milestone Feb 15, 2015
@lsf37 lsf37 closed this Feb 15, 2015
@lsf37
Copy link
Member Author

@lsf37 lsf37 commented Feb 15, 2015

Commented by marcusrausch on 2010-01-30 01:11 UTC
proposal for error-fix

@lsf37
Copy link
Member Author

@lsf37 lsf37 commented Feb 15, 2015

Commented by steve_rowe on 2014-01-02 20:53 UTC
I committed a fix in r720.

@lsf37
Copy link
Member Author

@lsf37 lsf37 commented Feb 15, 2015

Updated by lsf37 on 2014-01-16 06:50 UTC

  • status: open --> open-fixed
@lsf37
Copy link
Member Author

@lsf37 lsf37 commented Feb 15, 2015

Updated by lsf37 on 2014-03-01 00:28 UTC

  • status: open-fixed --> closed
@lsf37 lsf37 added bug and removed bug labels Feb 17, 2015
@lsf37 lsf37 modified the milestone: jflex bug Feb 17, 2015
@regisd regisd added this to the 1.5.0 milestone Nov 4, 2017
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
2 participants
You can’t perform that action at this time.