diff options
Diffstat (limited to 'src/gram.y')
-rwxr-xr-x | src/gram.y | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -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); |