From f0214ff61b5a94b9629db6f43d7a5b010bd4ffbc Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 18 Aug 2022 09:47:54 +0200 Subject: fix bodyarg --- bootstrap/all.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bootstrap/all.h') 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; }; -- cgit v1.2.3