Mercurial > hg > octave-lyh
comparison libinterp/parse-tree/pt-colon.h @ 16153:a57c2c8c8163
move some variables into the octave_parser class
* oct-parse.yy (fcn_comment_header): Delete unused variable.
* parse.h, oct-parse.yy (current_function_depth, function_scopes,
max_function_depth, parsing_subfunctions, endfunction_found,
current_class_name, autoloading, fcn_file_from_relative_lookup,
primary_fcn_ptr, primary_fcn_scope): Declare as member variables in
the octave_parser class. Change all uses. Don't unwind_protect.
(parse_fcn_file): New args, autoload and relative_lookup. Eliminate
optional arguments. Change all callers. Store autoload and
relative_lookup in curr_parser object.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 27 Feb 2013 21:43:34 -0500 |
parents | 2fc554ffbc28 |
children |
comparison
equal
deleted
inserted
replaced
16152:c48847a781d5 | 16153:a57c2c8c8163 |
---|