From fa2bb9fd4e5c9261675d0d6198901b94bdb14101 Mon Sep 17 00:00:00 2001 From: Alexandre Petit-Bianco Date: Wed, 10 Feb 1999 15:11:25 +0000 Subject: lex.c (yylex): Encode \0 as UTF8. 1999-02-10 Alexandre Petit-Bianco * lex.c (yylex): Encode \0 as UTF8. From-SVN: r25137 --- 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 e376fcf..89b3fb2 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.1