mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 11:01:25 -05:00
the improved error messages are still-to-be-improved
This commit is contained in:
@@ -25,8 +25,8 @@ parser.lexer: {
|
||||
}
|
||||
|
||||
# Improved error messages.
|
||||
parser.parseError: (message, hash) ->
|
||||
throw new Error 'Unexpected ' + hash.token + ' on line ' + hash.line
|
||||
# parser.parseError: (message, hash) ->
|
||||
# throw new Error 'Unexpected ' + parser.terminals_[hash.token] + ' on line ' + hash.line
|
||||
|
||||
exports.VERSION: '0.5.0'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user