My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 14: Implement yyPushStream & yyPopStream
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jul 21
Type-Enhancement
Priority-Medium


Sign in to add a comment
 
Reported by fodber, Jul 03, 2009
In JFlex and other lexer generators there is the possibility to include
files, that is, switching the lexer to an other reader.
It would be great if this project handled this as well.
Comment 1 by superduperhengyuan, Jul 21, 2009
Changed this issue to a feature enhancement request.

I will think about it.  This feature is not trivial.

1. Not only the streams need to be push / popped, the extra characters already read
in must also be pushed / popped.
2. EOF handling may be more complicated.
Labels: -Type-Defect Type-Enhancement
Comment 2 by superduperhengyuan, Jul 21, 2009
(No comment was entered for this change.)
Status: Accepted
Comment 3 by superduperhengyuan, Jul 21, 2009
added yyPushInput, yyPopInput, yyInputStackSize, yyWrap functions (and yywrap option).

See r674.
Status: Fixed
Sign in to add a comment

Hosted by Google Code