diff --git a/Docs/src/bin/halibut/input.c b/Docs/src/bin/halibut/input.c index 3af9f2fa..6a13a6bb 100644 --- a/Docs/src/bin/halibut/input.c +++ b/Docs/src/bin/halibut/input.c @@ -731,6 +731,12 @@ static void read_file(paragraph *** ret, input * in, indexdata * idx) continue; } + while (t.type == tok_cmd && macrolookup(macros, in, t.text, &t.pos)) + { + dtor(t), t = get_token(in); + } + + /* * This token begins a paragraph. See if it's one of the * special commands that define a paragraph type.