unary-new: built parser and new => now works

This commit is contained in:
satyr
2010-09-27 02:11:47 +09:00
parent db531495b8
commit e188b9ff41
6 changed files with 127 additions and 130 deletions

View File

@@ -37,7 +37,7 @@
return new LiteralNode($1);
})
],
Expression: [o("Value"), o("Code"), o("Operation"), o("Assign"), o("If"), o("Try"), o("While"), o("For"), o("Switch"), o("Extends"), o("Class"), o("Existence"), o("Comment")],
Expression: [o("Value"), o("Invocation"), o("Code"), o("Operation"), o("Assign"), o("If"), o("Try"), o("While"), o("For"), o("Switch"), o("Extends"), o("Class"), o("Existence"), o("Comment")],
Block: [
o("INDENT Body OUTDENT", function() {
return $2;