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:
parent
04f07f4c15
commit
12685aa54a
4 changed files with 26 additions and 18 deletions
|
@ -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);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue