Mercurial > octave
changeset 20772:51ab9145f6e6 stable
set all lexical_feedback variables in init function (bug #46522)
* lex.ll (lexical_feedback::init): Set all member variables.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 27 Nov 2015 16:49:44 -0500 |
parents | e0e55ce86ba0 |
children | 4d78e076a592 a8ee668e7fd7 |
files | libinterp/parse-tree/lex.ll |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll Fri Nov 27 02:30:06 2015 -0800 +++ b/libinterp/parse-tree/lex.ll Fri Nov 27 16:49:44 2015 -0500 @@ -2022,6 +2022,7 @@ maybe_classdef_get_set_method = false; parsing_classdef_get_method = false; parsing_classdef_set_method = false; + quote_is_transpose = false; force_script = false; reading_fcn_file = false; reading_script_file = false; @@ -2034,6 +2035,7 @@ defining_func = 0; looking_at_function_handle = 0; block_comment_nesting_level = 0; + command_arg_paren_count = 0; token_count = 0; current_input_line = ""; comment_text = ""; @@ -2045,13 +2047,13 @@ fcn_file_full_name = ""; looking_at_object_index.clear (); looking_at_object_index.push_front (false); - command_arg_paren_count = 0; while (! parsed_function_name.empty ()) parsed_function_name.pop (); + pending_local_variables.clear (); + symtab_context.clear (); nesting_level.reset (); - tokens.clear (); }