summaryrefslogtreecommitdiff
path: root/lex.h
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-08-02 00:32:59 +1200
committerDavid Phillips <david@sighup.nz>2018-08-02 00:32:59 +1200
commit0b35912033dfa8984629c760097ce6691a7e5816 (patch)
tree4733e5138327ea4e32e93be75e45ebe28a3aa2fa /lex.h
parent0ddd53b66c1069ebab588285e3cbc894816de7ad (diff)
downloadhence-0b35912033dfa8984629c760097ce6691a7e5816.tar.xz
lex,parse: Add nand, nor
Also update sample script to avoid idents colliding with keywords
Diffstat (limited to 'lex.h')
-rw-r--r--lex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lex.h b/lex.h
index 3ce15f4..6c4f819 100644
--- a/lex.h
+++ b/lex.h
@@ -11,6 +11,8 @@ enum TOKEN_TYPE {
TOK_AND,
TOK_XOR,
TOK_NOT,
+ TOK_NAND,
+ TOK_NOR,
/* Etc */
TOK_IDENT