summaryrefslogtreecommitdiffstats
path: root/src/gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/gram.y')
-rwxr-xr-xsrc/gram.y14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/gram.y b/src/gram.y
index aafe0f2..08e87bc 100755
--- a/src/gram.y
+++ b/src/gram.y
@@ -244,6 +244,7 @@ token S_YANKCOL
%token K_OVERLAP
%token K_NOOVERLAP
%token K_INPUT_BAR_BOTTOM
+%token K_UNDERLINE_GRID
%token K_TRUNCATE
%token K_NOTRUNCATE
%token K_QUIT_AFTERLOAD
@@ -1061,15 +1062,18 @@ setitem :
| K_OVERLAP '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "overlap=0", TRUE);
else parse_str(user_conf_d, "overlap=1", TRUE); }
| K_OVERLAP { parse_str(user_conf_d, "overlap=1", TRUE); }
- | K_INPUT_BAR_BOTTOM '=' NUMBER {
- if ($3 == 0) parse_str(user_conf_d, "input_bar_bottom=0", TRUE);
- else parse_str(user_conf_d, "input_bar_bottom=1", TRUE);
- ui_mv_bottom_bar();
- }
+ | K_INPUT_BAR_BOTTOM '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "input_bar_bottom=0", TRUE);
+ else parse_str(user_conf_d, "input_bar_bottom=1", TRUE);
+ ui_mv_bottom_bar(); }
| K_INPUT_BAR_BOTTOM { parse_str(user_conf_d, "input_bar_bottom=1", TRUE);
ui_mv_bottom_bar();
}
+ | K_UNDERLINE_GRID '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "underline_grid=0", TRUE);
+ else parse_str(user_conf_d, "underline_grid=1", TRUE); }
+ | K_UNDERLINE_GRID { parse_str(user_conf_d, "underline_grid=1", TRUE);
+ }
+
| K_NOOVERLAP { parse_str(user_conf_d, "overlap=0", TRUE); }
| K_TRUNCATE '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "truncate=0", TRUE);