aboutsummaryrefslogtreecommitdiff
path: root/src/cffc.hff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-31 16:00:34 +0200
committerlemon <lsof@mailbox.org>2022-08-31 16:00:34 +0200
commitb4310d08333fcb9ae4f3e4bf1e0e5fc6599ada4e (patch)
tree6b38da06b027db62bd4ab21f6241282b904435d3 /src/cffc.hff
parent047a978be814f0ff46482689ef60582061a5c08b (diff)
def x = expr -> defmacro x = expr, def const -> def
Diffstat (limited to 'src/cffc.hff')
-rw-r--r--src/cffc.hff2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cffc.hff b/src/cffc.hff
index 3e6a66f..7338b8a 100644
--- a/src/cffc.hff
+++ b/src/cffc.hff
@@ -41,7 +41,7 @@ enum TokT : i32 {
typearg,
eof,
}
-def NUM_KEYWORDS = as(int)TokT:NUM_KEYWORDS;
+def NUM_KEYWORDS int = TokT:NUM_KEYWORDS;
struct Tok {
t TokT,