From 4d08648d0b9d1589b3205a5fe86d774ebcbac75b Mon Sep 17 00:00:00 2001 From: "C. 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(-) (limited to 'bin/hilex') diff --git a/bin/hilex/c.l b/bin/hilex/c.l index f7370b01..1c703814 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