Comparing version 4.7.1 to 4.7.2
@@ -14,3 +14,3 @@ // | ||
function _loadString(stream, decodeToUnicodeCodePoints) { | ||
function _loadString(stream) { | ||
stream._index = 0; | ||
@@ -17,0 +17,0 @@ stream.data = []; |
{ | ||
"name": "antlr4", | ||
"version": "4.7.1", | ||
"version": "4.7.2", | ||
"description": "JavaScript runtime for ANTLR4", | ||
@@ -14,3 +14,3 @@ "main": "src/antlr4/index.js", | ||
], | ||
"license": "BSD", | ||
"license": "BSD-3-Clause", | ||
"bugs": { | ||
@@ -17,0 +17,0 @@ "url": "https://github.com/antlr/antlr4/issues" |
@@ -24,3 +24,3 @@ // | ||
Recognizer.prototype.checkVersion = function(toolVersion) { | ||
var runtimeVersion = "4.7.1"; | ||
var runtimeVersion = "4.7.2"; | ||
if (runtimeVersion!==toolVersion) { | ||
@@ -27,0 +27,0 @@ console.log("ANTLR runtime and generated code versions disagree: "+runtimeVersion+"!="+toolVersion); |
@@ -76,3 +76,7 @@ /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. | ||
ParseTreeVisitor.prototype.visitChildren = function(ctx) { | ||
return this.visit(ctx.children); | ||
if (ctx.children) { | ||
return this.visit(ctx.children); | ||
} else { | ||
return null; | ||
} | ||
} | ||
@@ -79,0 +83,0 @@ |
Sorry, the diff of this file is too big to display
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
417976
0
10935