Skip to content

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

@lsf37

Description

@lsf37

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions