From 3ca62b33e0db2b4f0a51b213e8a0d2d6e21c1bd5 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Tue, 7 Apr 2020 00:22:39 -0500 Subject: [PATCH] fix inline token error --- src/Parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parser.js b/src/Parser.js index 4d333269e9..d53aebef5c 100644 --- a/src/Parser.js +++ b/src/Parser.js @@ -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;