* src/main.c (main): Free `infile'.

* src/scan-gram.l (handle_syncline): New.
Recognize `#line'.
* src/output.c (user_actions_output, symbol_destructors_output)
(symbol_printers_output): Use the location's file name, not
infile.
* src/reader.c (prologue_augment, epilogue_set): Likewise.
This commit is contained in:
Akim Demaille
2002-11-06 08:08:46 +00:00
parent e183b12388
commit 900c5db537
9 changed files with 705 additions and 605 deletions

View File

@@ -419,5 +419,5 @@ getargs (int argc, char *argv[])
usage (EXIT_FAILURE);
}
infile = argv[optind];
infile = xstrdup (argv[optind]);
}