diff options
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/ChangeLog-98c | 5 | ||||
-rw-r--r-- | TAO/TAO_IDL/driver/drv_preproc.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c index 58d6d9b7bd4..201266b8da7 100644 --- a/TAO/ChangeLog-98c +++ b/TAO/ChangeLog-98c @@ -1,3 +1,8 @@ +Sat Jul 25 13:56:45 1998 Carlos O'Ryan <coryan@JIG> + + * TAO_IDL/driver/drv_preproc.cpp: + Generate a #line directive which is accepted by more compilers. + Fri Jul 24 21:44:09 1998 Carlos O'Ryan <coryan@cs.wustl.edu> * tao/Exception.i: diff --git a/TAO/TAO_IDL/driver/drv_preproc.cpp b/TAO/TAO_IDL/driver/drv_preproc.cpp index ebb22fbef47..afeec34b615 100644 --- a/TAO/TAO_IDL/driver/drv_preproc.cpp +++ b/TAO/TAO_IDL/driver/drv_preproc.cpp @@ -178,7 +178,7 @@ DRV_copy_input(FILE *fin, char *fn, const char *orig_filename) << GTDEVEL(": cannot open input file\n"); exit(99); } - fprintf (f, "#1 \"%s\"\n", orig_filename); + fprintf (f, "#line 1 \"%s\"\n", orig_filename); while (DRV_get_line(fin)) fprintf(f, "%s\n", drv_line); fclose(f); |