It would be great if re2c supported POSIX character classes, which would help simplify and unclutter some lexer specifications.
You can easily do that yourself:
DIGIT = [0-9];
DIGITS = DIGIT+;
HEXDIGIT = DIGIT | [a-fA-F];
HEXDIGITS = HEXDIGIT+;
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.