Closed tavianator closed 5 years ago
Ah I guess it's expecting preprocessed files
Indeed, I'm going to look at making bic automatically preprocess C files that are input so macros are expanded, comments stripped, etc.
@hexagonal-sun
In this same vein, support for define would be nice:
BIC> #define NUMBER 1337
Parser Error: syntax error, unexpected IDENTIFIER, expecting ',' or ';'.
Ah good spot, I've raised a new issue for this as this is a REPL feature.
This should now be fixed. C files are now pass through the preprocessor before parsing.