26 #if defined (HAVE_CONFIG_H)
40 auto p = lst.
begin ();
42 while (p != lst.
end ())
49 errmsg (
"invalid lvalue in multiple assignment", elt->
line ());
62 errmsg (
"invalid lvalue in for command", cmd.
line ());
91 errmsg (
"invalid number of output arguments in for command",
140 errmsg (
"invalid lvalue in assignment", expr.
line ());
159 errmsg (
"invalid lvalue used for identifier in try-catch command",
169 catch_code->
accept (*
this);
176 error (
"%s", msg.c_str ());
size_t length(void) const
void accept(tree_walker &tw)
void visit_argument_list(tree_argument_list &)
OCTAVE_NORETURN void errmsg(const std::string &msg, int line)
void visit_simple_assignment(tree_simple_assignment &)
void visit_complex_for_command(tree_complex_for_command &)
void visit_simple_for_command(tree_simple_for_command &)
void visit_try_catch_command(tree_try_catch_command &)
void visit_multi_assignment(tree_multi_assignment &)
tree_expression * control_expr(void)
tree_statement_list * body(void)
tree_argument_list * left_hand_side(void)
virtual bool lvalue_ok(void) const
bool lvalue_ok(void) const
tree_argument_list * left_hand_side(void)
tree_expression * right_hand_side(void)
tree_expression * right_hand_side(void)
tree_expression * left_hand_side(void)
tree_expression * control_expr(void)
tree_expression * left_hand_side(void)
tree_statement_list * body(void)
tree_expression * maxproc_expr(void)
void accept(tree_walker &tw)
tree_statement_list * cleanup(void)
tree_identifier * identifier(void)
tree_statement_list * body(void)
virtual void accept(tree_walker &tw)=0
virtual int line(void) const
void error(const char *fmt,...)