an AST_If is too a StatementWithBody

This commit is contained in:
Mihai Bazon
2012-09-03 12:11:44 +03:00
parent d7c1dc6c05
commit 6d0db4ce14
4 changed files with 21 additions and 17 deletions

View File

@@ -999,7 +999,7 @@ function parse($TEXT, exigent_mode) {
}
return new AST_If({
condition : cond,
consequent : body,
body : body,
alternative : belse
});
};