summary refs log tree commit diff
path: root/lisc/parse.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-28 20:39:41 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-28 20:39:41 -0800
commit542d89bcd50a0dd43a490180547c88312bf0c7a6 (patch)
tree1cffb5fdb6550df91f160d0043fd003e22220d9e /lisc/parse.c
parent8a9b0c551366d1b16ae6ddbe72c8480d9df0a736 (diff)
downloadroux-542d89bcd50a0dd43a490180547c88312bf0c7a6.tar.gz
Add zero fill data.
Diffstat (limited to 'lisc/parse.c')
-rw-r--r--lisc/parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisc/parse.c b/lisc/parse.c
index 99af770..be93ca3 100644
--- a/lisc/parse.c
+++ b/lisc/parse.c
@@ -87,6 +87,7 @@ enum {
 	TB,
 	TD,
 	TS,
+	TZ,
 
 	TPlus,
 
@@ -175,6 +176,7 @@ lex()
 		{ "b", TB },
 		{ "d", TD },
 		{ "s", TS },
+		{ "z", TZ },
 		{ "loadw", OLoad }, /* for convenience */
 		{ "loadl", OLoad },
 		{ "loads", OLoad },
@@ -827,6 +829,7 @@ parsedat(void cb(Dat *))
 		case TB: d.type = DB; break;
 		case TS: d.type = DW; break;
 		case TD: d.type = DL; break;
+		case TZ: d.type = DZ; break;
 		}
 		t = nextnl();
 		do {