From 9ecf7632184760ad67657c9a38e13554a239a547 Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Fri, 14 Oct 2016 16:12:05 -0400 Subject: [PATCH] lint [skip ci] --- src/parser/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/util.js b/src/parser/util.js index f4a8dab91a..c8ac407a8c 100644 --- a/src/parser/util.js +++ b/src/parser/util.js @@ -81,7 +81,7 @@ pp.expect = function (type, pos) { // instead of a message string. pp.unexpected = function (pos, messageOrType = "Unexpected token") { - if (messageOrType && typeof messageOrType === 'object' && messageOrType.label) { + if (messageOrType && typeof messageOrType === "object" && messageOrType.label) { messageOrType = `Unexpected token, expected ${messageOrType.label}`; } this.raise(pos != null ? pos : this.state.start, messageOrType);