From: Bruno Haible Date: Wed, 23 Aug 2000 20:36:55 +0000 (+0000) Subject: Fix parsing of \x sequences in strings. From Ulrich. X-Git-Tag: v0.10.36~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b480339dee36be8b89f1d4b819261e8eab01f602;p=thirdparty%2Fgettext.git Fix parsing of \x sequences in strings. From Ulrich. --- diff --git a/src/ChangeLog b/src/ChangeLog index 8ef5a6aff..6bd700bbc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2000-08-23 Ulrich Drepper + + * po-lex.c (control_sequence): Unget character which ended \x.. + sequence. + 2000-07-28 Bruno Haible * xget-lex.h (enum xgettext_token_type_ty): Rename diff --git a/src/po-lex.c b/src/po-lex.c index 2f305b5f2..549aa4971 100644 --- a/src/po-lex.c +++ b/src/po-lex.c @@ -330,6 +330,7 @@ control_sequence () } break; } + lex_ungetc (c); return val; } po_gram_error (_("invalid control sequence"));