ahh, finally. switched up our Jison configuration to provide better syntax errors. Now you get the unexpected token, instead of the expected one.

This commit is contained in:
Jeremy Ashkenas
2010-06-01 20:21:12 -04:00
parent ea1411cd07
commit 59de6b505a
6 changed files with 66 additions and 27 deletions

View File

@@ -76,7 +76,6 @@ parser.lexer: {
@tokens: tokens
@pos: 0
upcomingInput: -> ""
showPosition: -> @pos
}
# Activate CoffeeScript in the browser by having it compile and evaluate