Skip to content
Snippets Groups Projects
Commit 82de9c1d authored by Houtan Bastani's avatar Houtan Bastani
Browse files

macroprocessor: allow inline comments. closes #1550

parent 204d9cd0
Branches
Tags
No related merge requests found
/*
* Copyright (C) 2008-2017 Dynare Team
* Copyright (C) 2008-2018 Dynare Team
*
* This file is part of Dynare.
*
......@@ -71,6 +71,8 @@ CONT \\\\
yylloc->step();
%}
<STMT,EXPR,FOR_BODY,THEN_BODY,ELSE_BODY>["/"]["/"].*
<INITIAL>^{SPC}*@#{SPC}*includepath{SPC}+\"([^\"\r\n:;|<>]*){1}(:[^\"\r\n:;|<>]*)*\"{SPC}*{EOL} {
yylloc->lines(1);
yylloc->step();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment