projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d852471
)
preprocessor: output '3' flag for system headers
author
Matthias Braun
<matze@braunis.de>
Mon, 18 Jun 2012 23:12:51 +0000
(
01:12
+0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 6 Jul 2012 11:08:21 +0000
(13:08 +0200)
preprocessor.c
patch
|
blob
|
history
diff --git
a/preprocessor.c
b/preprocessor.c
index
0bd535e
..
4c5f1d4
100644
(file)
--- a/
preprocessor.c
+++ b/
preprocessor.c
@@
-1383,6
+1383,9
@@
static void print_line_directive(const source_position_t *pos, const char *add)
fputc(' ', out);
fputs(add, out);
}
+ if (pos->is_system_header) {
+ fputs(" 3", out);
+ }
printed_input_name = pos->input_name;
input.output_line = pos->lineno-1;