1
0
mirror of synced 2025-12-15 18:58:18 +08:00

add Doug's json parse and check for bad empty symbols and duplicates

This commit is contained in:
Andrey Gubanov (his digital copy)
2016-09-25 15:28:56 +03:00
parent 042f6b9507
commit 39f5c3dc89

View File

@@ -256,6 +256,7 @@ parseError:function parseError(str, hash) {
if (this.yy.parseError) {
this.yy.parseError(str, hash);
} else {
console.log(hash)
throw new Error(str);
}
},