diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2019-04-27 16:41:07 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2019-04-27 18:27:04 +0200 |
commit | 7ea108fa6749d3e3dc688c1499fbabf636de1e84 (patch) | |
tree | f0c9b972f8635c3bb104b8ac77aba75125a38d9e /data/skeletons/lalr1.java | |
parent | 386cf2508891ebd2338b83b084bfabe469f510a9 (diff) | |
download | bison-7ea108fa6749d3e3dc688c1499fbabf636de1e84.tar.gz |
traces: use colors for the semantic values
This makes reading the trace slightly easier. It would be very nice
to highlight the "big steps", especially reductions. But this is a
private experiment: do not use it.
* data/diagnostics.css (value): New.
* src/parse-gram.y: Use no delimiters and no c quotation for strings
to facilitate debugging.
(tron, troff, TRACE): New.
Not very elegant, but until there is support for printf-formats in
libtextstyle, it shall be enough.
Diffstat (limited to 'data/skeletons/lalr1.java')
-rw-r--r-- | data/skeletons/lalr1.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/skeletons/lalr1.java b/data/skeletons/lalr1.java index 62ae80da..5a77c692 100644 --- a/data/skeletons/lalr1.java +++ b/data/skeletons/lalr1.java @@ -87,8 +87,8 @@ b4_output_begin([b4_parser_file_name])[ ]])[ ]b4_user_pre_prologue[ ]b4_user_post_prologue[ -]b4_percent_code_get([[imports]]) -[/** +]b4_percent_code_get([[imports]])[ +/** * A Bison parser, automatically generated from <tt>]m4_bpatsubst(b4_file_name, [^"\(.*\)"$], [\1])[</tt>. * * @@author LALR (1) parser skeleton written by Paolo Bonzini. |