* app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()

when transitioning from states 14 or 15 to 0 or 1.
This commit is contained in:
Jakub Jelinek 2003-11-24 09:24:39 +00:00
parent b1f1fa963c
commit 70b911ad67
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-11-24 Jakub Jelinek <jakub@redhat.com>
* app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
when transitioning from states 14 or 15 to 0 or 1.
2003-11-23 Kazu Hirata <kazu@cs.umass.edu>
* hash.c: Convert to ISO-C.

View file

@ -684,7 +684,11 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen)
else if (state == 14 || state == 15)
{
if (ch == ')')
state -= 14;
{
state -= 14;
PUT (ch);
ch = GET ();
}
else
{
PUT (ch);