1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

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);
})