Skip to content

Comment support for parser #41

@FriedrichFroebel

Description

@FriedrichFroebel

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.)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions