I'm trying to use the C preprocessor for non-C code, and it works fine, except for creating such lines at the top:
# 1 "test.java" # 1 "<built-in>" # 1 "<command-line>" # 1 "test.java"
The problem is that these lines are not valid in Java. Is there a way to get the preprocessor not to write this stuff? I would prefer not to run this through something else, just to delete the first 4 lines each time.
c-preprocessor
Brendan Long Jun 01 '10 at 1:58
source share