summaryrefslogtreecommitdiff
path: root/data/bison-default.css
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-01-22 22:29:09 +0100
committerAkim Demaille <akim.demaille@gmail.com>2020-01-23 08:26:33 +0100
commit46ab1d0cbe69b429e2e5f1934faa53d1de46620d (patch)
tree3ddc3a67328470b94e7b7c521f5236042d0500c0 /data/bison-default.css
parentf54a5b303bd3508aecbc79968bd61a9fc6167e00 (diff)
downloadbison-46ab1d0cbe69b429e2e5f1934faa53d1de46620d.tar.gz
diagnostics: report syntax errors in color
* src/parse-gram.y (parse.error): Set to 'custom'. (yyreport_syntax_error): New. * data/bison-default.css (.expected, .unexpected): New. * tests/diagnostics.at: Adjust.
Diffstat (limited to 'data/bison-default.css')
-rw-r--r--data/bison-default.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/bison-default.css b/data/bison-default.css
index 6f4900a9..17b9b657 100644
--- a/data/bison-default.css
+++ b/data/bison-default.css
@@ -29,3 +29,6 @@
/* "Sections" in traces (--trace). */
.trace0 { color: green; }
+
+.expected { color: green; }
+.unexpected { color: red; }