Mercurial > hg > octave-nkf
diff src/lex.l @ 476:de9de43ad21f
[project @ 1994-06-24 16:17:47 by jwe]
author | jwe |
---|---|
date | Fri, 24 Jun 1994 16:17:47 +0000 |
parents | d60d1658ea12 |
children | 4481fdfb01b4 |
line wrap: on
line diff
--- a/src/lex.l +++ b/src/lex.l @@ -1057,6 +1057,7 @@ { plotting = 1; yylval.tok_val = new token (token::two_dee, l, c); + token_stack.push (yylval.tok_val); return PLOT; } else if (strcmp ("gsplot", s) == 0) @@ -1066,6 +1067,13 @@ token_stack.push (yylval.tok_val); return PLOT; } + else if (strcmp ("replot", s) == 0) + { + plotting = 1; + yylval.tok_val = new token (token::replot, l, c); + token_stack.push (yylval.tok_val); + return PLOT; + } else if (strcmp ("if", s) == 0) { iffing++;