aboutsummaryrefslogtreecommitdiff
path: root/src/parse.cff
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.cff')
-rw-r--r--src/parse.cff2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.cff b/src/parse.cff
index ea965d6..a065739 100644
--- a/src/parse.cff
+++ b/src/parse.cff
@@ -695,7 +695,7 @@ fn parseenum(P *Parser, name *const u8, lax bool) *const Type {
fn isdecltokt(t TokT) bool {
switch t {
case :kw_fn, :kw_static, :kw_def, :kw_defmacro, :kw_struct, :kw_union, :kw_enum,
- :kw_extern, :kw_bitfield;
+ :kw_extern, :kw_bitfield, :kw_typedef;
return #t;
}
return #f;