mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 11:01:25 -05:00
print_tokens should acutally, y'know, print
This commit is contained in:
@@ -46,7 +46,7 @@ exports.tree: (code) ->
|
||||
exports.print_tokens: (tokens) ->
|
||||
strings: for token in tokens
|
||||
'[' + token[0] + ' ' + token[1].toString().replace(/\n/, '\\n') + ']'
|
||||
strings.join(' ')
|
||||
puts strings.join(' ')
|
||||
|
||||
|
||||
#---------- Below this line is obsolete, for the Ruby compiler. ----------------
|
||||
|
||||
Reference in New Issue
Block a user