Subject: | Comment parsing bug |
The definition of a COMMENT in tokenizer.c.flex forces the leading pound-sign (#) to be followed by at least one non end-of-line character. This results in lines with a single pound-sign to be passed through the tokenizer as text.
This can be fixed by changing the COMMENT definition to:
(#[^\n]*)
allowing for the absence of anything after the pound sign
This is a cool module and I will be using it a lot; thanks for sharing it!