aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/parse.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-13 20:53:39 +0200
committerlemon <lsof@mailbox.org>2022-08-13 20:53:39 +0200
commitddcca62a276c528a4390c8e3d58403b865f81869 (patch)
tree3d563e173a18095501f61f3b30e39cf62b4ff521 /bootstrap/parse.c
parenta4ddca68662f4bc0531763357b4bc00b6c50b456 (diff)
ok..
Diffstat (limited to 'bootstrap/parse.c')
-rw-r--r--bootstrap/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/parse.c b/bootstrap/parse.c
index 7a35f09..be32985 100644
--- a/bootstrap/parse.c
+++ b/bootstrap/parse.c
@@ -87,7 +87,7 @@ aissep(char c) {
case '*': case '/': case '&': case '|':
case '^': case '~': case '=': case '\'':
case '"': case '<': case '>': case ':':
- case '@': case '#': case '\\':
+ case '@': case '#': case '%': case '\\':
case '`':
return 1;
return 0;
@@ -2744,7 +2744,7 @@ aggdeclyield(struct decl *decl, void *arg) {
if (decl->t == Dtype && decl->ty == a->aggty)
;
- else if ((decl->t == Dfn && !decl->externp) || decl->t == Ddef)
+ else if ((decl->t == Dfn && !decl->externp) || decl->t == Ddef || decl->t == Dmacro)
vec_push(a->decls, decl);
else
fatal(a->P, decl->span, "this kind of declaration is disallowed inside aggregates");