diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-08-08 18:32:03 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:30 -0400 |
commit | e5c68a88ce673b17a5d91c0019bbf87ea637d260 (patch) | |
tree | a335ff6ee5f69d559885e25cdc0b0fe207b1308a /lisc/lisc.h | |
parent | 76bf96b2682190686e2f570405ae8762a8791c55 (diff) | |
download | roux-e5c68a88ce673b17a5d91c0019bbf87ea637d260.tar.gz |
simplify parsing
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r-- | lisc/lisc.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h index 44115aa..75069fe 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -120,6 +120,7 @@ enum { enum { OXXX, + /* public instruction */ OAdd, OSub, @@ -135,9 +136,11 @@ enum { OLoadus, OLoadsb, OLoadub, - /* reserved instructions */ - ONop, OCopy, + NPubOp, + + /* reserved instructions */ + ONop = NPubOp, OSwap, OSign, OXDiv, @@ -145,7 +148,7 @@ enum { OXCmpl, OXSet, OXSet1 = OXSet + NCmp-1, - OLast + NOp }; enum { |