aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPer Bothner <bothner@cygnus.com>1998-05-26 12:55:06 +0000
committerPer Bothner <bothner@gcc.gnu.org>1998-05-26 05:55:06 -0700
commit31b72b87a0042e34db0c3498e3bd9a31dbe4c137 (patch)
treedf93010f7025463a20beee1a725735a00fcc5d71 /gcc
parent7fb4a8f7e65f7e2d4f84ba958fd544080d1a69b1 (diff)
downloadgcc-31b72b87a0042e34db0c3498e3bd9a31dbe4c137.zip
gcc-31b72b87a0042e34db0c3498e3bd9a31dbe4c137.tar.gz
gcc-31b72b87a0042e34db0c3498e3bd9a31dbe4c137.tar.bz2
language_as_string: Handle lang_java.
� * language_as_string: Handle lang_java. From-SVN: r20062
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/error.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 21e0c6e..5f03819 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+1998-05-26 Per Bothner <bothner@cygnus.com>
+
+ * language_as_string: Handle lang_java.
+
1998-05-26 Jason Merrill <jason@yorick.cygnus.com>
* decl.c (pushdecl): Don't copy the type_decl.
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index 4eb7da0..9202b39 100644
--- a/gcc/cp/error.c
+++ b/gcc/cp/error.c
@@ -1828,6 +1828,9 @@ language_as_string (c, v)
case lang_cplusplus:
return "C++";
+ case lang_java:
+ return "Java";
+
default:
my_friendly_abort (355);
return 0;