Comparing version 1.1.15 to 1.1.16
@@ -75,5 +75,9 @@ 'use strict'; | ||
this.tokens.push(token); | ||
if (token.tokenIndex >= caretTokenIndex || token.type == antlr4ts_1.Token.EOF) { | ||
break; | ||
} | ||
} | ||
if (token.tokenIndex >= caretTokenIndex || token.type == antlr4ts_1.Token.EOF) | ||
if (token.type == antlr4ts_1.Token.EOF) { | ||
break; | ||
} | ||
} | ||
@@ -80,0 +84,0 @@ let callStack = []; |
{ | ||
"name": "antlr4-c3", | ||
"version": "1.1.15", | ||
"version": "1.1.16", | ||
"description": "A code completion core implementation for ANTLR4 based parsers", | ||
@@ -9,3 +9,3 @@ "main": "out/index.js", | ||
"prepublishOnly": "npm run test", | ||
"test": "tsc --version && tsc && mocha out/test", | ||
"test": "tsc --version && npm run generate && tsc && mocha out/test", | ||
"generate": "antlr4ts test/CPP14.g4 test/Expr.g4 -no-listener -no-visitor" | ||
@@ -28,9 +28,9 @@ }, | ||
"devDependencies": { | ||
"@types/chai": "^4.2.12", | ||
"@types/mocha": "^8.0.1", | ||
"@types/node": "^14.0.27", | ||
"antlr4ts-cli": "^0.5.0-alpha.3", | ||
"chai": ">=4.2.0", | ||
"mocha": "^8.1.1", | ||
"path": ">=0.12.7", | ||
"@types/chai": "^4.2.15", | ||
"@types/mocha": "^8.2.1", | ||
"@types/node": "^14.14.34", | ||
"antlr4ts-cli": "^0.5.0-alpha.4", | ||
"chai": "^4.3.3", | ||
"mocha": "^8.3.2", | ||
"path": "^0.12.7", | ||
"typescript": "^3.9.7" | ||
@@ -37,0 +37,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201431
2008