Fix regression parsing gcc preprocessor linemarkers
These are preprocessor statement in the form: # linenum filename flags Closes #1475
This commit is contained in:
parent
9038a9987d
commit
1f46d9b7b9
8 changed files with 70 additions and 1 deletions
13
Examples/test-suite/preproc_gcc_output.h
Normal file
13
Examples/test-suite/preproc_gcc_output.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# 1 "header1.h"
|
||||
# 1 "<built-in>"
|
||||
# 1 "<command-line>"
|
||||
# 1 "/usr/include/stdc-predef.h" 1 3 4
|
||||
# 1 "<command-line>" 2
|
||||
# 1 "header1.h"
|
||||
# 18 "header1.h"
|
||||
void header1_function_a(int a);
|
||||
# 1 "header2.h" 1
|
||||
# 13 "header2.h"
|
||||
void header2_function(int x);
|
||||
# 20 "header1.h" 2
|
||||
void header1_function_b(int b);
|
||||
Loading…
Add table
Add a link
Reference in a new issue