mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
Closes #1082. Puts back use of function calls in parameter lists.
This commit is contained in:
@@ -369,9 +369,9 @@ exports.Lexer = class Lexer
|
||||
switch tok[0]
|
||||
when ')'
|
||||
stack.push tok
|
||||
when '('
|
||||
when '(', 'CALL_START'
|
||||
if stack.length then stack.pop()
|
||||
else
|
||||
else if tok[0] is '('
|
||||
tok[0] = 'PARAM_START'
|
||||
return this
|
||||
this
|
||||
|
||||
Reference in New Issue
Block a user