You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1910 Reporter: administrator Status: acknowledged Resolution: open Priority: normal Severity: feature Category: tools (ocaml{lex,yacc,dep,debug,...})
Bug description
It appears that Ocamllex does not support the "^r" pattern (found in Flex
at least) that matches the beginning of line. This is very useful for
example in a case where you want to parse the C preprocessor # line
directive.
Emulating this by hand with more complex lexers is kinda awkward.
Best regards,
Janne Hellsten
The text was updated successfully, but these errors were encountered:
Original bug ID: 1910
Reporter: administrator
Status: acknowledged
Resolution: open
Priority: normal
Severity: feature
Category: tools (ocaml{lex,yacc,dep,debug,...})
Bug description
It appears that Ocamllex does not support the "^r" pattern (found in Flex
at least) that matches the beginning of line. This is very useful for
example in a case where you want to parse the C preprocessor # line
directive.
Emulating this by hand with more complex lexers is kinda awkward.
Best regards,
Janne Hellsten
The text was updated successfully, but these errors were encountered: