diff options
Diffstat (limited to 'lisc/parse.c')
-rw-r--r-- | lisc/parse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisc/parse.c b/lisc/parse.c index 507244c..104c2a2 100644 --- a/lisc/parse.c +++ b/lisc/parse.c @@ -16,7 +16,8 @@ OpDesc opdesc[NOp] = { [OSub] = { "sub", 2, 2 }, [ODiv] = { "div", 2, 2 }, [ORem] = { "rem", 2, 2 }, - [OStore] = { "store", 2, 0 }, + [OStorel] = { "storel", 2, 0 }, + [OStorew] = { "storew", 2, 0 }, [OStores] = { "stores", 2, 0 }, [OStoreb] = { "storeb", 2, 0 }, [OLoad] = { "load", 1, 0 }, @@ -365,7 +366,7 @@ parseline(PState ps) err("label or end of file expected"); switch (t) { default: - if (t == OStore || t == OStores || t == OStoreb) { + if (OStorel <= t && t <= OStoreb) { /* operations without result */ r = R; op = t; |