Detect alias cycles
This commit is contained in:
@ -410,10 +410,10 @@ designator_expression:
|
||||
statement:
|
||||
designator_expression ":=" expression
|
||||
{ $$ = new boot::assign_statement(boot::make_position(@1), $1, $3); }
|
||||
| "while" expression "do" optional_statements elsif_do_statements else_statements "end"
|
||||
| "while" expression "do" optional_statements elsif_do_statements "end"
|
||||
{
|
||||
boot::conditional_statements *body = new boot::conditional_statements($2, std::move($4));
|
||||
$$ = new boot::while_statement(boot::make_position(@1), body, std::move($5), $6);
|
||||
$$ = new boot::while_statement(boot::make_position(@1), body, std::move($5));
|
||||
}
|
||||
| "if" expression "then" optional_statements elsif_then_statements else_statements "end"
|
||||
{
|
||||
|
Reference in New Issue
Block a user