summaryrefslogtreecommitdiff
path: root/lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'lex.h')
-rw-r--r--lex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lex.h b/lex.h
index 908d23e..389a5d7 100644
--- a/lex.h
+++ b/lex.h
@@ -12,7 +12,8 @@ enum TOKEN_TYPE {
TOKEN_STRING, /* string literal */
TOKEN_NUMERIC, /* numeric literal, incl literal chars */
TOKEN_REGISTER, /* $0, $H, $1 */
- TOKEN_EOL /* end of line */
+ TOKEN_EOL, /* end of line */
+ TOKEN_EOF, /* end of file */
};
struct token {