summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-25 18:57:50 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-25 18:57:50 +0000
commitaa3635b989376d2398e9ce644b12068c1c8c1ca3 (patch)
treea31b7db086837aa6eeb3ddc88eb491be44ba0723 /TAO
parent6d2535b13e9169a9993b1f5a95fc3848edcdab75 (diff)
downloadATCD-aa3635b989376d2398e9ce644b12068c1c8c1ca3.tar.gz
ChangeLogTag:Sat Jul 25 13:56:45 1998 Carlos O'Ryan <coryan@JIG>
Diffstat (limited to 'TAO')
-rw-r--r--TAO/ChangeLog-98c5
-rw-r--r--TAO/TAO_IDL/driver/drv_preproc.cpp2
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);