Lexer: no longer associate a semantic value to GMM and SMM tokens

This was forgotten from commit 78f6d48601.
issue#70
Sébastien Villemot 2020-12-14 19:10:29 +01:00
parent e74bac52e6
commit 84d79226cd
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 2 additions and 8 deletions

View File

@ -676,14 +676,8 @@ DATE -?[0-9]+([ya]|m([1-9]|1[0-2])|q[1-4])
yylval->build<string>(yytext);
return token::DIAGONAL;
}
<DYNARE_STATEMENT>gmm {
yylval->build<string>(yytext);
return token::GMM;
}
<DYNARE_STATEMENT>smm {
yylval->build<string>(yytext);
return token::SMM;
}
<DYNARE_STATEMENT>gmm {return token::GMM;}
<DYNARE_STATEMENT>smm {return token::SMM;}
<DYNARE_STATEMENT>weighting_matrix {return token::WEIGHTING_MATRIX; }
<DYNARE_STATEMENT>weighting_matrix_scaling_factor {return token::WEIGHTING_MATRIX_SCALING_FACTOR; }
<DYNARE_STATEMENT>analytic_standard_errors {return token::ANALYTIC_STANDARD_ERRORS; }