1 | diff -c -r -N ../mcpp-2.7.2-old/src/internal.H ./src/internal.H |
---|
2 | *** ../mcpp-2.7.2-old/src/internal.H 2008-08-27 10:31:16.000000000 -0230 |
---|
3 | --- ./src/internal.H 2009-05-21 09:49:31.000000000 -0230 |
---|
4 | *************** |
---|
5 | *** 390,395 **** |
---|
6 | --- 390,397 ---- |
---|
7 | extern char identifier[]; /* Lastly scanned name */ |
---|
8 | extern IFINFO ifstack[]; /* Information of #if nesting */ |
---|
9 | extern char work_buf[]; |
---|
10 | + extern FILEINFO * sh_file; |
---|
11 | + extern int sh_line; |
---|
12 | /* Temporary buffer for directive line and macro expansion */ |
---|
13 | |
---|
14 | /* main.c */ |
---|
15 | diff -c -r -N ../mcpp-2.7.2-old/src/main.c ./src/main.c |
---|
16 | *** ../mcpp-2.7.2-old/src/main.c 2008-11-05 05:04:46.000000000 -0330 |
---|
17 | --- ./src/main.c 2009-05-21 09:47:50.000000000 -0230 |
---|
18 | *************** |
---|
19 | *** 326,331 **** |
---|
20 | --- 326,333 ---- |
---|
21 | = FALSE; |
---|
22 | option_flags.trig = TRIGRAPHS_INIT; |
---|
23 | option_flags.dig = DIGRAPHS_INIT; |
---|
24 | + sh_file = NULL; |
---|
25 | + sh_line = 0; |
---|
26 | } |
---|
27 | |
---|
28 | int mcpp_lib_main |
---|
29 | diff -c -r -N ../mcpp-2.7.2-old/src/system.c ./src/system.c |
---|
30 | *** ../mcpp-2.7.2-old/src/system.c 2008-11-26 06:23:51.000000000 -0330 |
---|
31 | --- ./src/system.c 2009-05-21 09:48:50.000000000 -0230 |
---|
32 | *************** |
---|
33 | *** 3858,3863 **** |
---|
34 | --- 3858,3866 ---- |
---|
35 | } |
---|
36 | #endif |
---|
37 | |
---|
38 | + FILEINFO* sh_file; |
---|
39 | + int sh_line; |
---|
40 | + |
---|
41 | void sharp( |
---|
42 | FILEINFO * sharp_file, |
---|
43 | int flag /* Flag to append to the line for GCC */ |
---|
44 | *************** |
---|
45 | *** 3868,3875 **** |
---|
46 | * else (i.e. 'sharp_file' is NULL) 'infile'. |
---|
47 | */ |
---|
48 | { |
---|
49 | - static FILEINFO * sh_file; |
---|
50 | - static int sh_line; |
---|
51 | FILEINFO * file; |
---|
52 | int line; |
---|
53 | |
---|
54 | --- 3871,3876 ---- |
---|