summaryrefslogtreecommitdiffstats
path: root/lexer/theme-parser.y
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-05-22 09:24:05 +0200
committerDave Davenport <qball@gmpclient.org>2017-05-22 09:24:05 +0200
commitdca5caaa4778f2e7973372fa33483f724610f2dc (patch)
tree01b76c921c24dc57958dbda57095b28d2245f5f4 /lexer/theme-parser.y
parent8616e4e8c6782b642219aea60ea0be79b1afb42a (diff)
[Theme] Add small caps options (not working?)
Diffstat (limited to 'lexer/theme-parser.y')
-rw-r--r--lexer/theme-parser.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/lexer/theme-parser.y b/lexer/theme-parser.y
index e721b346..d66b7cc4 100644
--- a/lexer/theme-parser.y
+++ b/lexer/theme-parser.y
@@ -174,6 +174,7 @@ static ThemeColor hwb_to_rgb ( double h, double w, double b)
%token T_ITALIC "Italic"
%token T_UNDERLINE "Underline"
%token T_STRIKETHROUGH "Strikethrough"
+%token T_SMALLCAPS "Small CAPS"
%token T_DASH "Dash"
%token T_SOLID "Solid"
@@ -400,6 +401,7 @@ t_property_highlight_style
| T_UNDERLINE { $$ = HL_UNDERLINE; }
| T_STRIKETHROUGH { $$ = HL_STRIKETHROUGH; }
| T_ITALIC { $$ = HL_ITALIC; }
+| T_SMALLCAPS { $$ = HL_SMALL_CAPS; }
;
/** Distance. */