From 987465365c18c8b86bdf6dab93bfd4e4f1e8c0d5 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Thu, 15 Nov 2018 12:34:05 +0100
Subject: [PATCH] Revert "macroprocessor: allow inline comments. closes #1550"

This reverts commit 17dd443341b55374feb011c161c21296ff0bd80b.
---
 src/macro/MacroFlex.ll | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/macro/MacroFlex.ll b/src/macro/MacroFlex.ll
index e2330afa..776f48ca 100644
--- a/src/macro/MacroFlex.ll
+++ b/src/macro/MacroFlex.ll
@@ -1,6 +1,6 @@
 /* -*- C++ -*- */
 /*
- * Copyright (C) 2008-2018 Dynare Team
+ * Copyright (C) 2008-2017 Dynare Team
  *
  * This file is part of Dynare.
  *
@@ -73,8 +73,6 @@ 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();
-- 
GitLab