gnulib: update
[bison.git] / data / bison-default.css
blob70932172b37fdaad78a502bece489754cc1081cf
1 /* Default styling rules for Bison when doing terminal output.
2 Copyright (C) 2019-2022 Free Software Foundation, Inc.
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <https://www.gnu.org/licenses/>. */
17 /* This is an experimental feature. The class names may change in the
18 future. */
20 /* Diagnostics. */
21 .warning { color: purple; }
22 .error { color: red; }
23 .note { color: cyan; }
25 .fixit-insert { color: green; }
27 /* Semantic values in Bison's own parser traces. */
28 .value { color: green; }
30 /* "Sections" in traces (--trace). */
31 .trace0 { color: green; }
33 /* Syntax error messages. */
34 .expected { color: green; }
35 .unexpected { color: red; }
38 /* Counterexamples. */
40 /* Cex: point in rule. */
41 .cex-dot { color: red; }
43 /* Cex: coloring various rules. */
44 .cex-0 { color: yellow; }
45 .cex-1 { color: green; }
46 .cex-2 { color: blue; }
47 .cex-3 { color: purple; }
48 .cex-4 { color: violet; }
49 .cex-5 { color: orange; }
50 .cex-6 { color: brown; }
51 .cex-7 { color: mauve; }
52 .cex-8 { color: #013220; } /* Dark green. */
53 .cex-9 { color: #e75480; } /* Dark pink. */
54 .cex-10 { color: cyan; }
55 .cex-11 { color: orange; }
57 /* Cex: derivation rewriting steps. */
58 .cex-step { font-style: italic; }
60 /* Cex: leaves of a derivation. */
61 .cex-leaf { font-weight: 600; }