-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
Description
Currently, there seem to be two different lexers: the normal one and a full one (which preserves comments for example). There is only a normal parser, so I would have to use the full lexer if I want to work with the comments later. Having a full parser which supports comments would be easier to use. (Using parser.parse(infile.read(), lexer=full_lexer.clone()) throws an SyntaxError on <?php which does not occur when calling a full_lexer.clone() instance directly without the parser.)
Jaakkonen