55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
diff -c -r -N ../mcpp-2.7.2-old/src/internal.H ./src/internal.H
|
|
*** ../mcpp-2.7.2-old/src/internal.H 2008-08-27 10:31:16.000000000 -0230
|
|
--- ./src/internal.H 2009-05-21 09:49:31.000000000 -0230
|
|
***************
|
|
*** 390,395 ****
|
|
--- 390,397 ----
|
|
extern char identifier[]; /* Lastly scanned name */
|
|
extern IFINFO ifstack[]; /* Information of #if nesting */
|
|
extern char work_buf[];
|
|
+ extern FILEINFO * sh_file;
|
|
+ extern int sh_line;
|
|
/* Temporary buffer for directive line and macro expansion */
|
|
|
|
/* main.c */
|
|
diff -c -r -N ../mcpp-2.7.2-old/src/main.c ./src/main.c
|
|
*** ../mcpp-2.7.2-old/src/main.c 2008-11-05 05:04:46.000000000 -0330
|
|
--- ./src/main.c 2009-05-21 09:47:50.000000000 -0230
|
|
***************
|
|
*** 326,331 ****
|
|
--- 326,333 ----
|
|
= FALSE;
|
|
option_flags.trig = TRIGRAPHS_INIT;
|
|
option_flags.dig = DIGRAPHS_INIT;
|
|
+ sh_file = NULL;
|
|
+ sh_line = 0;
|
|
}
|
|
|
|
int mcpp_lib_main
|
|
diff -c -r -N ../mcpp-2.7.2-old/src/system.c ./src/system.c
|
|
*** ../mcpp-2.7.2-old/src/system.c 2008-11-26 06:23:51.000000000 -0330
|
|
--- ./src/system.c 2009-05-21 09:48:50.000000000 -0230
|
|
***************
|
|
*** 3858,3863 ****
|
|
--- 3858,3866 ----
|
|
}
|
|
#endif
|
|
|
|
+ FILEINFO* sh_file;
|
|
+ int sh_line;
|
|
+
|
|
void sharp(
|
|
FILEINFO * sharp_file,
|
|
int flag /* Flag to append to the line for GCC */
|
|
***************
|
|
*** 3868,3875 ****
|
|
* else (i.e. 'sharp_file' is NULL) 'infile'.
|
|
*/
|
|
{
|
|
- static FILEINFO * sh_file;
|
|
- static int sh_line;
|
|
FILEINFO * file;
|
|
int line;
|
|
|
|
--- 3871,3876 ----
|