Skip to content

Commit

Permalink
fix inline token error
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Apr 7, 2020
1 parent 5da102d commit 3ca62b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser.js
Expand Up @@ -240,7 +240,7 @@ module.exports = class Parser {
break;
}
default: {
const errMsg = 'Token with "' + this.token.type + '" type was not found.';
const errMsg = 'Token with "' + token.type + '" type was not found.';
if (this.options.silent) {
console.error(errMsg);
return;
Expand Down

0 comments on commit 3ca62b3

Please sign in to comment.