From c01fe8762c5795b36d6e8e9e75d907c6e0aaa1c0 Mon Sep 17 00:00:00 2001 From: tromey Date: Wed, 10 Feb 1999 15:11:25 +0000 Subject: 1999-02-10 Alexandre Petit-Bianco * lex.c (yylex): Encode \0 as UTF8. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25137 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/java/lex.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/java/lex.c') 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 */ { -- cgit v1.2.1