[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] [PATCH] pp should interpret #num as #line num
From: |
Sergey Korshunoff |
Subject: |
[Tinycc-devel] [PATCH] pp should interpret #num as #line num |
Date: |
Sat, 27 Dec 2014 15:29:53 +0300 |
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
2014-12-27-01-pp-num-as-line.patch
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] [PATCH] pp should interpret #num as #line num,
Sergey Korshunoff <=