+2002-05-13 Florian Krohm <florian@edamail.fishkill.ibm.com>
+
+ * src/reader.c (parse_action): Use copy_character instead of
+ obstack_1grow.
+
2002-05-13 Akim Demaille <akim@epita.fr>
* tests/regression.at (Token definitions): Prototype yylex and
switch (c)
{
case '\n':
- obstack_1grow (&action_obstack, c);
+ copy_character (&action_obstack, c);
++lineno;
break;
case '{':
- obstack_1grow (&action_obstack, c);
+ copy_character (&action_obstack, c);
++count;
break;
fatal (_("unmatched %s"), "`{'");
default:
- obstack_1grow (&action_obstack, c);
+ copy_character (&action_obstack, c);
}
/* Above loop exits when C is '}'. */
if (--count)
- obstack_1grow (&action_obstack, c);
+ copy_character (&action_obstack, c);
}
obstack_1grow (&action_obstack, '\0');