mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
tiny thing.
This commit is contained in:
@@ -132,8 +132,7 @@ exports.Rewriter = class Rewriter
|
||||
if (tag is 'TERMINATOR' and not ((after and after[0] is ':') or (post and post[0] is '@' and @tokens[i + 3] and @tokens[i + 3][0] is ':'))) or
|
||||
(running and tag is ',' and post and (post[0] not in ['IDENTIFIER', 'STRING', '@']))
|
||||
running = no
|
||||
size = closeBrackets(i)
|
||||
return size
|
||||
return closeBrackets(i)
|
||||
else if include EXPRESSION_START, tag
|
||||
stack.push(if tag is '{' then 1 else 0)
|
||||
return 2 if tag is '{' and post and post[0] is 'INDENT'
|
||||
|
||||
Reference in New Issue
Block a user