print_tokens should acutally, y'know, print

This commit is contained in:
Jeremy Ashkenas
2010-02-15 20:46:36 -05:00
parent 63c2b2bc64
commit 48c501a7a2
4 changed files with 4 additions and 4 deletions

View File

@@ -69,7 +69,7 @@
return fs.cat(source).addCallback(function(code) {
var js;
if (opts.tokens) {
puts(coffee.print_tokens(coffee.tokenize(code)));
coffee.print_tokens(coffee.tokenize(code));
} else if (opts.tree) {
puts(coffee.tree(code).toString());
} else {