Support else in if then conditions
This commit is contained in:
@@ -37,6 +37,9 @@ if {
|
||||
then {
|
||||
return yy::parser::make_THEN(this->location);
|
||||
}
|
||||
else {
|
||||
return yy::parser::make_ELSE(this->location);
|
||||
}
|
||||
while {
|
||||
return yy::parser::make_WHILE(this->location);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user