From aeeeeb0370dfd0ef670d7c45af155c3e270a4807 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 29 Dec 2020 17:19:23 -0500 Subject: Match lex/yacc %% %{ %} lines as Macro --- bin/hilex/c.l | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/hilex/c.l b/bin/hilex/c.l index c8f4ba65..985ff513 100644 --- a/bin/hilex/c.l +++ b/bin/hilex/c.l @@ -42,7 +42,8 @@ width "*"|[0-9]+ BEGIN(pop = MacroDefine); return Macro; } -^[#%][[:blank:]]*{ident} { +^[#%][[:blank:]]*{ident} | +^"%"[%{}] { BEGIN(pop = MacroLine); return Macro; } -- cgit 1.4.1