Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
empty string with non-empty trailing context consumes code units #116
Given the following code:
On strings starting with "a" this lexer will consume single code unit ('a') and advance YYCURSOR to code unit next to 'a'. This is clearly not what was intended.
Lookahead is a useful feature and this should be fixed.