23 #if defined (HAVE_CONFIG_H)
37 while (p != lst.
end ())
44 errmsg (
"invalid lvalue in multiple assignment", elt->
line ());
130 while (p != lst.
end ())
147 errmsg (
"invalid lvalue in for command", cmd.
line ());
175 if (len == 0 || len > 2)
176 errmsg (
"invalid number of output arguments in for command",
183 do_lvalue_check =
false;
258 while (p != lst.
end ())
275 std::list<tree_argument_list *> lst = expr.
arg_lists ();
277 std::list<tree_argument_list *>::iterator
p = lst.begin ();
279 while (p != lst.end ())
293 while (p != lst.
end ())
307 while (p != lst.
end ())
361 while (p != lst.
end ())
397 while (p != lst.
end ())
414 errmsg (
"invalid lvalue in assignment", expr.
line ());
470 while (p != lst.
end ())
503 errmsg (
"invalid lvalue used for identifier in try-catch command",
513 catch_code->
accept (*
this);
521 if (unwind_protect_code)
522 unwind_protect_code->
accept (*
this);
527 cleanup_code->
accept (*
this);
562 error (
"%s", msg.c_str ());
tree_expression * operand(void)
void visit_if_command(tree_if_command &)
tree_identifier * identifier(void)
void visit_cell(tree_cell &)
virtual bool lvalue_ok(void) const
void accept(tree_walker &tw)
tree_statement_list * cleanup(void)
The value of lines which begin with a space character are not saved in the history list A value of all commands are saved on the history list
tree_expression * left_hand_side(void)
tree_expression * switch_value(void)
void visit_identifier(tree_identifier &)
tree_expression * control_expr(void)
void visit_try_catch_command(tree_try_catch_command &)
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE const F77_DBLE * f
void visit_decl_init_list(tree_decl_init_list &)
tree_argument_list * left_hand_side(void)
void accept(tree_walker &tw)
tree_command * command(void)
void visit_continue_command(tree_continue_command &)
void error(const char *fmt,...)
tree_switch_case_list * case_list(void)
std::list< tree_expression * >::iterator iterator
tree_statement_list * commands(void)
void visit_postfix_expression(tree_postfix_expression &)
tree_expression * expression(void)
tree_expression * case_label(void)
void visit_if_clause(tree_if_clause &)
void visit_statement_list(tree_statement_list &)
void do_decl_command(tree_decl_command &)
void visit_prefix_expression(tree_prefix_expression &)
bool lvalue_ok(void) const
tree_argument_list * left_hand_side(void)
tree_identifier * ident(void)
tree_decl_init_list * initializer_list(void)
void visit_simple_for_command(tree_simple_for_command &)
void visit_unwind_protect_command(tree_unwind_protect_command &)
tree_statement_list * body(void)
tree_expression * increment(void)
tree_if_command_list * cmd_list(void)
void visit_binary_expression(tree_binary_expression &)
tree_statement_list * body(void)
void visit_if_command_list(tree_if_command_list &)
tree_expression * maxproc_expr(void)
void accept(tree_walker &tw)
tree_expression * right_hand_side(void)
std::list< tree_argument_list * > arg_lists(void)
tree_expression * condition(void)
tree_expression * control_expr(void)
void visit_function_def(tree_function_def &)
void accept(tree_walker &tw)
void visit_anon_fcn_handle(tree_anon_fcn_handle &)
void visit_argument_list(tree_argument_list &)
void visit_return_list(tree_return_list &)
tree_expression * limit(void)
octave_value function(void)
tree_statement_list * body(void)
tree_expression * lhs(void)
tree_expression * left_hand_side(void)
tree_statement_list * body(void)
void accept(tree_walker &tw)
void accept(tree_walker &tw)
void visit_parameter_list(tree_parameter_list &)
tree_statement_list * commands(void)
void visit_index_expression(tree_index_expression &)
tree_statement_list * cleanup(void)
void visit_colon_expression(tree_colon_expression &)
virtual int line(void) const
void visit_persistent_command(tree_persistent_command &)
octave::base_list< tree_argument_list * >::iterator iterator
octave_function * function_value(bool silent=false) const
void visit_simple_assignment(tree_simple_assignment &)
void accept(tree_walker &tw)
void visit_octave_user_function(octave_user_function &)
tree_statement_list * body(void)
OCTAVE_NORETURN void errmsg(const std::string &msg, int line)
void visit_switch_case(tree_switch_case &)
void visit_funcall(tree_funcall &)
tree_expression * rhs(void)
void visit_constant(tree_constant &)
void visit_fcn_handle(tree_fcn_handle &)
void visit_decl_elt(tree_decl_elt &)
void visit_break_command(tree_break_command &)
tree_expression * expression(void)
void accept(tree_walker &tw)
size_t length(void) const
void accept(tree_walker &tw)
tree_expression * expression(void)
void accept(tree_walker &tw)
void visit_complex_for_command(tree_complex_for_command &)
void accept(tree_walker &tw)
virtual void accept(tree_walker &)
void visit_matrix(tree_matrix &)
tree_expression * base(void)
tree_statement_list * body(void)
void visit_statement(tree_statement &)
void visit_switch_case_list(tree_switch_case_list &)
void visit_global_command(tree_global_command &)
tree_statement_list * body(void)
void visit_while_command(tree_while_command &)
tree_expression * right_hand_side(void)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
void visit_multi_assignment(tree_multi_assignment &)
virtual void accept(tree_walker &tw)=0
void visit_do_until_command(tree_do_until_command &)
void visit_octave_user_script(octave_user_script &)
void visit_switch_command(tree_switch_command &)
void visit_return_command(tree_return_command &)
void visit_no_op_command(tree_no_op_command &)
tree_expression * condition(void)