summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-08-01 20:59:27 +1200
committerDavid Phillips <david@sighup.nz>2018-08-01 20:59:27 +1200
commit3e9a190ed65d059cae0feed52b41b7744e8b479d (patch)
tree880e22ad781b1198f6b98a77767d319b73973d00
parent73fb33ccab5f987361a9a405d6e141986061c230 (diff)
downloadhence-3e9a190ed65d059cae0feed52b41b7744e8b479d.tar.xz
Fix mis-named expr keyword in lookup table
-rw-r--r--lexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer.c b/lexer.c
index a541f4e..35a4f88 100644
--- a/lexer.c
+++ b/lexer.c
@@ -27,7 +27,7 @@ struct keyword {
static struct keyword keywords[] = {
{.s = "module", .t = TOK_MODULE },
{.s = "input" , .t = TOK_INPUT },
- {.s = "module", .t = TOK_EXPR },
+ {.s = "expr" , .t = TOK_EXPR },
{.s = "or" , .t = TOK_OR },
{.s = "and" , .t = TOK_AND },
{.s = "xor" , .t = TOK_XOR },