simplecpp
simplecpp copied to clipboard
Macro defintion splitted with `\` in its macro name isn't respected well
An edge case, that we have in our code base to avoid grepping. The following code:
#define A\
B 0
AB
gcc -E output:
0
simplecpp output:
AB
@Tal500 can you please simplify the examples. The code int foo() { is not handled during the preprocessing and can be removed.
I prefer if you just show the relevant gcc -E output and show what the simplecpp output is. Example: https://github.com/danmar/simplecpp/issues/397
@Tal500 can you please simplify the examples. The code
int foo() {is not handled during the preprocessing and can be removed. I prefer if you just show the relevantgcc -Eoutput and show what thesimplecppoutput is. Example: #397
Done