From aea90117452a28611a77adb0821b3748e8b3f174 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Wed, 11 Jul 2018 12:15:58 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"macroprocessor:=20don=E2=80=99t=20int?= =?UTF-8?q?erpret=20inline=20comments=20yet=20put=20them=20to=20output=20(?= =?UTF-8?q?ignored=20by=20dynare=20preprocessor,=20but=20printed=20in=20ma?= =?UTF-8?q?cro=20expanded=20file).=20#4"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 27e6d92af10d18d2c83bab649e99f8b8ecd345c5. --- src/macro/MacroFlex.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macro/MacroFlex.ll b/src/macro/MacroFlex.ll index d872dacb..2a5f088f 100644 --- a/src/macro/MacroFlex.ll +++ b/src/macro/MacroFlex.ll @@ -72,7 +72,7 @@ CONT \\\\ %} // Ignore inline comments -\/{2}.* { yylloc->step(); ECHO; } +\/{2}.* ^{SPC}*@#{SPC}*includepath{SPC}+\"([^\"\r\n:;|<>]*){1}(:[^\"\r\n:;|<>]*)*\"{SPC}*{EOL} { yylloc->lines(1);