Mercurial > hg > octave-terminal
changeset 1273:fd3ed8834b77
[project @ 1995-04-21 03:37:37 by jwe]
author | jwe |
---|---|
date | Fri, 21 Apr 1995 03:37:37 +0000 |
parents | 7949d2e66339 |
children | 305162358727 |
files | src/lex.l |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lex.l +++ b/src/lex.l @@ -1791,7 +1791,11 @@ if (! in_plot_range) past_plot_range = 1; - int plot_option_kw = is_plot_keyword (tok); + // Option keywords can't appear in parentheses or braces. + + int plot_option_kw = 0; + if (nesting_level.empty ()) + plot_option_kw = is_plot_keyword (tok); if (cant_be_identifier && plot_option_kw) TOK_RETURN (plot_option_kw);