mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 13:23:04 +00:00
* src/print_graph.c (print_actions): CPP out useless code.
* src/vcg.c (complain.h): Include it. Unepitaize `return' invocations. * src/vcg.c [NDEBUG] (main): Remove.
This commit is contained in:
18
src/reader.c
18
src/reader.c
@@ -882,16 +882,11 @@ static void
|
||||
parse_header_extension_decl (void)
|
||||
{
|
||||
char buff[32];
|
||||
int len;
|
||||
|
||||
|
||||
if (header_extension)
|
||||
complain (_("multiple %%header_extension declarations"));
|
||||
fscanf (finput, "%s", buff);
|
||||
printf("-> %s\n", buff);
|
||||
len = strlen (buff);
|
||||
buff[len] = '\0';
|
||||
src_extension = XMALLOC (char, len + 1);
|
||||
stpcpy (header_extension, buff);
|
||||
header_extension = xstrdup (buff);
|
||||
}
|
||||
|
||||
/*------------------------------------------.
|
||||
@@ -902,16 +897,11 @@ static void
|
||||
parse_source_extension_decl (void)
|
||||
{
|
||||
char buff[32];
|
||||
int len;
|
||||
|
||||
|
||||
if (src_extension)
|
||||
complain (_("multiple %%source_extension declarations"));
|
||||
fscanf (finput, "%s", buff);
|
||||
printf("-> %s\n", buff);
|
||||
len = strlen (buff);
|
||||
buff[len] = '\0';
|
||||
src_extension = XMALLOC (char, len + 1);
|
||||
stpcpy (src_extension, buff);
|
||||
src_extension = xstrdup (buff);
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------.
|
||||
|
||||
Reference in New Issue
Block a user