* src/parse-skel.y (process_skeleton): Don't bind the parser's

tracing code to --trace, wait for a better --trace option, with
args.
This commit is contained in:
Akim Demaille
2002-01-03 09:56:04 +00:00
parent 7ea5e9779b
commit 1109455ce9
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2002-01-03 Akim Demaille <akim@epita.fr>
* src/parse-skel.y (process_skeleton): Don't bind the parser's
tracing code to --trace, wait for a better --trace option, with
args.
2002-01-03 Akim Demaille <akim@epita.fr>
* src/bison.simple (YYSTDERR): Remove, replace `stderr'.

View File

@@ -247,8 +247,9 @@ process_skeleton (const char* skel)
/* Output. */
skel_in = fopen (skel, "r");
skel__flex_debug = 0;
skel_debug = trace_flag ? 1 : 0;
/* FIXME: This is not acceptable for a release. */
skel__flex_debug = getenv ("BISON_TRACE_SCAN") ? 1 : 0;
skel_debug = getenv ("BISON_TRACE_PARSE") ? 1 : 0;
skel_parse (NULL);
/* Close the last parser. */