mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-16 10:34:55 -05:00
waypoint commit with both # and $ performing interpolation. Issue #544
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user