mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
* src/getargs.h, src/getargs.c (trace_e, trace_args, trace_types):
Add support for --trace=skeleton. * src/scan-skel.l: %option debug. Scan strings of non-@ or n instead of character by character. (scan_skel): Handle trace_skeleton. (QPUTS): New. (@output_parser_name@, @output_header_name@): ``Restore'' their support (used to be M4 macros). * data/yacc.c: Quote larger chunks, a la glr.c. * data/lalr1.cc: Likewise. The header guards are no longer available, so use some other string than `YYLSP_NEEDED'.
This commit is contained in:
@@ -54,15 +54,16 @@ static const char * const trace_args[] =
|
||||
/* In a series of synonyms, present the most meaningful first, so
|
||||
that argmatch_valid be more readable. */
|
||||
"none - no report",
|
||||
"scan - scanner traces",
|
||||
"parse - parser traces",
|
||||
"scan - grammar scanner traces",
|
||||
"parse - grammar parser traces",
|
||||
"automaton - contruction of the automaton",
|
||||
"bitsets - use of bitsets",
|
||||
"grammar - reading, reducing of the grammar",
|
||||
"resource - memory consumption (where available)",
|
||||
"sets - grammar sets: firsts, nullable etc.",
|
||||
"time - time consumption",
|
||||
"tools - m4 invocation and preserve the temporary file",
|
||||
"skeleton - skeleton postprocessing",
|
||||
"time - time consumption",
|
||||
"all - all of the above",
|
||||
0
|
||||
};
|
||||
@@ -77,8 +78,9 @@ static const int trace_types[] =
|
||||
trace_grammar,
|
||||
trace_resource,
|
||||
trace_sets,
|
||||
trace_time,
|
||||
trace_tools,
|
||||
trace_skeleton,
|
||||
trace_time,
|
||||
trace_all
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user