pypreprocessor icon indicating copy to clipboard operation
pypreprocessor copied to clipboard

Stipped leading whitespace characters in lexer()

Open tcumby opened this issue 7 years ago • 1 comments
trafficstars

Stripped any and all whitespace characters from the line in lexer(line) before we try to find preprocessor directives. I believe insensitivity to leading whitespace is standard for modern C preprocessors.

tcumby avatar Mar 07 '18 21:03 tcumby

This allow indented (by whitespace) directives in python? That would be great I think

hendiol avatar Mar 29 '18 11:03 hendiol