cenotelie / hime

Apache License 2.0
27 stars 4 forks source link

Incorrect AST for context-sensitive lexers in Rust #49

Closed woutersl closed 6 years ago

woutersl commented 6 years ago

Original report by Laurent Wouters (Bitbucket: 557058:675792b6-d731-4823-9f7d-c6dfcb2df2b5, ).


Context-sensitive lexers in Rust produce incorrect tokens, and this the associated lexer produce incorrect ASTs. The problem occurs when the tokens are pushed in the token repository by a context-sensitive lexer.

woutersl commented 6 years ago

Original comment by Laurent Wouters (Bitbucket: 557058:675792b6-d731-4823-9f7d-c6dfcb2df2b5, ).


Verified

woutersl commented 6 years ago

Original comment by Laurent Wouters (Bitbucket: 557058:675792b6-d731-4823-9f7d-c6dfcb2df2b5, ).


[fix] Fixed issue #49 Incorrect AST for context-sensitive lexers in Rust