Skip to content
Snippets Groups Projects
Commit d01d952a authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added the possibility to write graph_format=none, in which case the graphs are...

Added the possibility to write graph_format=none, in which case the graphs are displayed (provided nograph and nodisplay options are not used) but not saved.
parent 93777bd7
No related branches found
No related tags found
No related merge requests found
......@@ -2261,6 +2261,8 @@ allowed_graph_formats : EPS
{ driver.add_graph_format("fig"); }
| PDF
{ driver.add_graph_format("pdf"); }
| NONE
{ driver.add_graph_format("pdf"); }
;
list_allowed_graph_formats : allowed_graph_formats
| list_allowed_graph_formats COMMA allowed_graph_formats
......@@ -2705,6 +2707,7 @@ symbol : NAME
| EPS
| PDF
| FIG
| NONE
| DR
;
%%
......
......@@ -226,6 +226,7 @@ string eofbuff;
<DYNARE_STATEMENT>eps {yylval->string_val = new string(yytext); return token::EPS;}
<DYNARE_STATEMENT>pdf {yylval->string_val = new string(yytext); return token::PDF;}
<DYNARE_STATEMENT>fig {yylval->string_val = new string(yytext); return token::FIG;}
<DYNARE_STATEMENT>none {yylval->string_val = new string(yytext); return token::NONE;}
<DYNARE_STATEMENT>print {return token::PRINT;}
<DYNARE_STATEMENT>noprint {return token::NOPRINT;}
<DYNARE_STATEMENT>conf_sig {return token::CONF_SIG;}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment