summaryrefslogtreecommitdiffstats
path: root/src/gram.y
diff options
context:
space:
mode:
authorBen Lu <ayroblu@gmail.com>2019-09-10 01:59:28 +0100
committerBen Lu <ayroblu@gmail.com>2019-09-10 01:59:28 +0100
commit4edcb9e24827a5549d95c52ff02f430bd0bfe398 (patch)
treeee43985ff93521b840604d6218401f6ddc1d0b16 /src/gram.y
parent72458f7275076f38a0a33de0031483eb3bd33bbc (diff)
Add grammar and doc
Diffstat (limited to 'src/gram.y')
-rwxr-xr-xsrc/gram.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gram.y b/src/gram.y
index 5b208ac..7155f9d 100755
--- a/src/gram.y
+++ b/src/gram.y
@@ -1020,6 +1020,8 @@ setitem :
else parse_str(user_conf_d, "overlap=1", TRUE); }
| K_OVERLAP { parse_str(user_conf_d, "overlap=1", TRUE); }
| K_NOOVERLAP { parse_str(user_conf_d, "overlap=0", TRUE); }
+ | K_TRUNCATE_CELLS { parse_str(user_conf_d, "truncate_cells=1", TRUE); }
+ | K_NOTRUNCATE_CELLS { parse_str(user_conf_d, "truncate_cells=0", TRUE); }
| K_AUTOBACKUP '=' NUMBER {
char cmd[MAXCMD];
sprintf(cmd, "autobackup=%d", $3);