From 01aa3e142775075fdacf7db78b910a9e86d65b0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Fri, 7 Jun 2013 17:16:12 +0200
Subject: [PATCH] extended_path is a statement, not a block

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

diff --git a/DynareFlex.ll b/DynareFlex.ll
index 626d4b13..af1d867c 100644
--- a/DynareFlex.ll
+++ b/DynareFlex.ll
@@ -159,6 +159,7 @@ string eofbuff;
  /* End of a Dynare statement */
 <INITIAL>calib_smoother { BEGIN DYNARE_STATEMENT; return token::CALIB_SMOOTHER; } 
 <INITIAL>model_diagnostics {BEGIN DYNARE_STATEMENT; return token::MODEL_DIAGNOSTICS;}
+<INITIAL>extended_path {BEGIN DYNARE_STATEMENT; return token::EXTENDED_PATH;}
 
 <DYNARE_STATEMENT>; {
   if (!sigma_e)
@@ -185,7 +186,6 @@ string eofbuff;
 <INITIAL>homotopy_setup {BEGIN DYNARE_BLOCK; return token::HOMOTOPY_SETUP;}
 <INITIAL>conditional_forecast_paths {BEGIN DYNARE_BLOCK; return token::CONDITIONAL_FORECAST_PATHS;}
 <INITIAL>svar_identification {BEGIN DYNARE_BLOCK; return token::SVAR_IDENTIFICATION;}
-<INITIAL>extended_path {BEGIN DYNARE_BLOCK; return token::EXTENDED_PATH;}
 
  /* For the semicolon after an "end" keyword */
 <INITIAL>; {return Dynare::parser::token_type (yytext[0]);}
-- 
GitLab