Please sign in to comment.
Fix for tokenizing and regex
When running tokenize on code with regular expression literals the order of tokens would sometimes be off and extra tokens inserted. This was due to peek being called before scanRegExp finished adding the literal to extra.tokens. http://code.google.com/p/esprima/issues/detail?id=446
- Loading branch information...