A preprocessor should Interpret an input line
        # NUM "FILENAME"
like
        #line NUM "FILENAME"

A cpp from gcc do this.  A test case:
         tcc -E tccasm.c -o tccasm.i
         tcc -E tccasm.i -o tccasm.ii

After a patch the line numbers in tccasm.ii are the same  as in tccasm.i

Attachment: 2014-12-27-01-pp-num-as-line.patch
Description: Binary data

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to