test_functions.coffee compiles and runs successfully.

This commit is contained in:
Jeremy Ashkenas
2010-02-11 23:57:31 -05:00
parent 04f07f4c15
commit 12685aa54a
4 changed files with 26 additions and 18 deletions

View File

@@ -234,7 +234,7 @@
],
// A Parameter (or ParamSplat) in a function definition.
Param: [o("PARAM", function() {
return yytext;
return new LiteralNode(yytext);
}), o("Param . . .", function() {
return new SplatNode($1);
})