diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-10 15:11:25 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-10 15:11:25 +0000 |
commit | c01fe8762c5795b36d6e8e9e75d907c6e0aaa1c0 (patch) | |
tree | e3a8aa777475ff39855079cfd10118c4b53d8945 /gcc/java/lex.c | |
parent | 692c6ad2bf91aa058c3df043ed8bab64181425d6 (diff) | |
download | ppe42-gcc-c01fe8762c5795b36d6e8e9e75d907c6e0aaa1c0.tar.gz ppe42-gcc-c01fe8762c5795b36d6e8e9e75d907c6e0aaa1c0.zip |
1999-02-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
* lex.c (yylex): Encode \0 as UTF8.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25137 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/lex.c')
-rw-r--r-- | gcc/java/lex.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c index e376fcfcb41..89b3fb2d305 100644 --- a/gcc/java/lex.c +++ b/gcc/java/lex.c @@ -903,8 +903,7 @@ java_lex (java_lval) if (c == '\\') c = java_parse_escape_sequence (); no_error &= (c != JAVA_CHAR_ERROR ? 1 : 0); - if (c) - java_unicode_2_utf8 (c); + java_unicode_2_utf8 (c); } if (c == '\n' || c == UEOF) /* ULT */ { |