commit 8bed880214d8cd8e019c2cacd047e04c141393ec
parent 35d990514e1bc4ccd36f93d0179f341faf90df3a
Author: Drew DeVault <sir@cmpwn.com>
Date: Wed, 14 Apr 2021 12:42:40 -0400
hare::lex: remove ltok::COMMENT
No longer used
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/hare/lex/token.ha b/hare/lex/token.ha
@@ -140,7 +140,6 @@ export type ltok = enum uint {
NAME,
LABEL,
- COMMENT,
EOF,
};
@@ -296,7 +295,6 @@ export fn tokstr(tok: token) const str = {
ltok::LIT_STR => "str",
ltok::NAME => tok.1 as str,
ltok::LABEL => abort(), // TODO
- ltok::COMMENT => abort(), // TODO
ltok::EOF => "EOF",
* => abort(),
};