Skip to content

Commit

Permalink
fix type in _matches in tokenizer (fixes #294)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlongster committed Oct 21, 2014
1 parent b8fe5ca commit 71d050f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lexer.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Tokenizer.prototype.parseString = function(delimiter) {
};

Tokenizer.prototype._matches = function(str) {
if(this.index + str.length > this.length) {
if(this.index + str.length > this.len) {
return null;
}

Expand Down

0 comments on commit 71d050f

Please sign in to comment.