Mercurial > hg > octave-nkf
diff src/lex.h @ 8001:ff9e7873f8ea
improve handling of command-style names in matrix_or_assign_lhs context
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 31 Jul 2008 13:11:14 -0400 |
parents | 74f5e0c7de9e |
children | 1652e39b934e |
line wrap: on
line diff
--- a/src/lex.h +++ b/src/lex.h @@ -52,6 +52,8 @@ extern void prep_lexer_for_script (void); +extern void force_local_variable (const std::string& name); + // For communication between the lexer and parser. class @@ -127,6 +129,9 @@ // Return transpose or start a string? bool quote_is_transpose; + // Set of identifiers that might be local variable names. + std::set<std::string> pending_local_variables; + private: lexical_feedback (const lexical_feedback&);