Mercurial > hg > octave-lyh
diff src/lex.l @ 3009:ea9af2ffa80d
[project @ 1997-06-01 19:15:46 by jwe]
author | jwe |
---|---|
date | Sun, 01 Jun 1997 19:15:46 +0000 |
parents | ae20b3f37f5e |
children | eb827eb9b8ff |
line wrap: on
line diff
--- a/src/lex.l +++ b/src/lex.l @@ -1950,9 +1950,6 @@ // Not initially looking at indirect references. looking_at_indirect_ref = false; - // Not initially screwed by `function [...] = f (...)' syntax. - maybe_screwed_again = 0; - // Quote marks strings intially. quote_is_transpose = false; } @@ -1961,7 +1958,9 @@ whitespace_in_literal_matrix (void) { int pref = 0; + string val = builtin_string_variable ("whitespace_in_literal_matrix"); + if (! val.empty ()) { if (val.compare ("ignore", 0, 6) == 0) @@ -1969,7 +1968,9 @@ else if (val.compare ("traditional", 0, 11) == 0) pref = 1; } + Vwhitespace_in_literal_matrix = pref; + return 0; }