Apply the regex used for macros for the rest preprocessor rules.
This is necessary to make preprocessor rules exit even if a newline, which used to trigger end patterns ((?=\n)$\n?), is consumed by some inner rule, like a // single-line comment.
Fixes #18 ("Include directive miscolored when preceded by single-line comment")
Apply the regex used for macros for the rest preprocessor rules.
This is necessary to make preprocessor rules exit even if a newline, which used to trigger end patterns (
(?=\n)$\n?
), is consumed by some inner rule, like a // single-line comment.Fixes #18 ("Include directive miscolored when preceded by single-line comment")