From 786d89b0e2ca7d4c21e46f3f152b4115d59c49af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@ens.fr>
Date: Thu, 9 Jun 2011 15:15:16 +0200
Subject: [PATCH] Preprocessor: fixed bug with native MATLAB statements (for
 example something like "x = { 'foo' 'bar' };" was incorrectly passed on to
 MATLAB)

---
 DynareFlex.ll | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DynareFlex.ll b/DynareFlex.ll
index c47f8373..e0821f28 100644
--- a/DynareFlex.ll
+++ b/DynareFlex.ll
@@ -87,7 +87,7 @@ string eofbuff;
                 }
 
  /* spaces, tabs and carriage returns are ignored */
-<*>[ \t\r\f]+  { yylloc->step(); }
+<INITIAL,DYNARE_STATEMENT,DYNARE_BLOCK,COMMENT,LINE1,LINE2,LINE3>[ \t\r\f]+  { yylloc->step(); }
 <INITIAL,DYNARE_STATEMENT,DYNARE_BLOCK,COMMENT,LINE1,LINE2,LINE3>[\n]+       { yylloc->step(); }
 
  /* Comments */
-- 
GitLab