aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-18 09:47:54 +0200
committerlemon <lsof@mailbox.org>2022-08-18 09:47:54 +0200
commitf0214ff61b5a94b9629db6f43d7a5b010bd4ffbc (patch)
treec8517b4950bc3937e82ff49c757fb24a7364e3b0 /bootstrap/all.h
parent8c81c70b904a41b8a0d44dc418b7c39bf325c2a2 (diff)
fix bodyarg
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap/all.h b/bootstrap/all.h
index 720c7ea..bebdaf5 100644
--- a/bootstrap/all.h
+++ b/bootstrap/all.h
@@ -130,6 +130,8 @@ struct parser {
struct toktree toks;
const char *name;
struct span span;
+ struct tok peektok;
+ bool have_peektok;
int idx;
bool tepl;
} *curexpan; // macro expansions
@@ -226,7 +228,7 @@ struct fn {
};
struct macrocase {
- bool variadic;
+ bool variadic, bodyarg;
slice_t(const char *) params;
struct toktree body;
};