waypoint commit with both # and $ performing interpolation. Issue #544

This commit is contained in:
Jeremy Ashkenas
2010-07-26 23:08:09 -04:00
parent 9c8a22832c
commit d624310be1
12 changed files with 200 additions and 200 deletions

View File

@@ -34,7 +34,7 @@ exports.compile = compile = (code, options) ->
try
(parser.parse lexer.tokenize code).compile options
catch err
err.message = "In $options.source, $err.message" if options.source
err.message = "In #options.source, #err.message" if options.source
throw err
# Tokenize a string of CoffeeScript code, and return the array of tokens.