Allow empty quoted strings
Can be useful when resetting a filename option to an empty value, e.g. for the mh_initialize_from_previous_mcmc_* options. Ref. dynare!1841issue#70
parent
73e07b78b8
commit
a2c96a9d79
|
@ -963,7 +963,7 @@ DATE -?[0-9]+([ya]|m([1-9]|1[0-2])|q[1-4])
|
|||
<DYNARE_BLOCK>\|x { return token::PIPE_X; }
|
||||
<DYNARE_BLOCK>\|p { return token::PIPE_P; }
|
||||
|
||||
<DYNARE_STATEMENT,DYNARE_BLOCK>\'[^\']+\' {
|
||||
<DYNARE_STATEMENT,DYNARE_BLOCK>\'[^\']*\' {
|
||||
yylval->build<string>(yytext + 1).pop_back();
|
||||
return token::QUOTED_STRING;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue