adding option SELECTED_VARIABLES_ONLY

issue#70
Michel Juillard 2010-04-02 11:51:21 +02:00
parent 656a515832
commit 6f880da1f5
2 changed files with 6 additions and 0 deletions

View File

@ -159,6 +159,7 @@ class ParsingDriver;
%token MARKOV_SWITCHING CHAIN STATE DURATION NUMBER_OF_STATES
%token SVAR COEFFICIENTS VARIANCES CONSTANTS EQUATIONS
%token EXTERNAL_FUNCTION EXT_FUNC_NAME EXT_FUNC_NARGS FIRST_DERIV_PROVIDED SECOND_DERIV_PROVIDED
%token SELECTED_VARIABLES_ONLY
%type <node_val> expression expression_or_empty
%type <node_val> equation hand_side
@ -1145,6 +1146,7 @@ estimation_options : o_datafile
| o_partial_information
| o_filter_covariance
| o_filter_decomposition
| o_selected_variables_only
;
list_optim_option : QUOTED_STRING COMMA QUOTED_STRING
@ -1906,6 +1908,9 @@ o_filter_covariance : FILTER_COVARIANCE
o_filter_decomposition : FILTER_DECOMPOSITION
{ driver.option_num("filter_decomposition","1");}
;
o_selected_variables_only : SELECTED_VARIABLES_ONLY
{ driver.option_num("selected_variables_only","1");}
;
range : symbol ':' symbol
{

View File

@ -349,6 +349,7 @@ int sigma_e = 0;
<DYNARE_STATEMENT>k_order_solver {return token::K_ORDER_SOLVER; }
<DYNARE_STATEMENT>filter_covariance {return token::FILTER_COVARIANCE; }
<DYNARE_STATEMENT>filter_decomposition {return token::FILTER_DECOMPOSITION; }
<DYNARE_STATEMENT>selected_variables_only {return token::SELECTED_VARIABLES_ONLY; }
<DYNARE_STATEMENT>[\$][^$]*[\$] {