diff --git a/.travis.yml b/.travis.yml index 79138f585..555b54cec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,8 +15,8 @@ deploy: api_key: secure: DNq1wbqLPHVpJPDx9O89HZM+RJB6v2R7/wk8pok7Z8NT72kUWdvbqcThGhczPO4sZ8cUTJ3ergTCE8hs9mynlR/lX6932U4fj4+uICQL9+G+deBB/t2SNyTBllkE64WrJ9BKmQvIk/Chh7ZJOM0Fro3p2BIq3JsVnfYg1tZ3U5o= file: - - package/chevrotain-binaries-0.4.9.zip - - package/chevrotain-binaries-0.4.9.tar.gz + - package/chevrotain-binaries-0.4.10.zip + - package/chevrotain-binaries-0.4.10.tar.gz on: tags : true all_branches: true diff --git a/bower.json b/bower.json index 8bf85f4d3..c974a9c1a 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "chevrotain", - "version": "0.4.9", + "version": "0.4.10", "description": "Chevrotain is a high performance fault Tolerant Javascript parsing DSL for building recursive decent parsers", "main": "release/chevrotain.js", "dependencies": { diff --git a/package.json b/package.json index 321163fb0..568fef6c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chevrotain", - "version": "0.4.9", + "version": "0.4.10", "description": "Chevrotain is a high performance fault Tolerant Javascript parsing DSL for building recursive decent parsers", "keywords": [ "parser", diff --git a/release/chevrotain.d.ts b/release/chevrotain.d.ts index 191b7a1bf..7e400a701 100644 --- a/release/chevrotain.d.ts +++ b/release/chevrotain.d.ts @@ -1,4 +1,4 @@ -/*! chevrotain - v0.4.9 - 2015-07-26 */ +/*! chevrotain - v0.4.10 - 2015-08-11 */ declare module chevrotain { module lang { class HashTable{} diff --git a/release/chevrotain.js b/release/chevrotain.js index 48b8e4065..f182e5eeb 100644 --- a/release/chevrotain.js +++ b/release/chevrotain.js @@ -15,7 +15,7 @@ } }(this, function (_) { -/*! chevrotain - v0.4.9 - 2015-07-26 */ +/*! chevrotain - v0.4.10 - 2015-08-11 */ var chevrotain; (function (chevrotain) { var lang; @@ -2912,7 +2912,9 @@ var chevrotain; } if (lookAheadFunc.call(this)) { action.call(this); - this.MANY(lookAheadFunc, action); + while (lookAheadFunc.call(this)) { + action.call(this); + } } else { throw this.SAVE_ERROR(new exceptions.EarlyExitException("expecting at least one: " + errMsg, this.NEXT_TOKEN())); @@ -3089,7 +3091,7 @@ var API = {}; /* istanbul ignore next */ if (!testMode) { // semantic version - API.VERSION = "0.4.9"; + API.VERSION = "0.4.10"; // runtime API API.Parser = chevrotain.Parser; API.Lexer = chevrotain.Lexer; diff --git a/src/api.ts b/src/api.ts index 589a6fb80..ac6f25030 100644 --- a/src/api.ts +++ b/src/api.ts @@ -12,7 +12,7 @@ let API:any = {} /* istanbul ignore next */ if (!testMode) { // semantic version - API.VERSION = "0.4.9"; + API.VERSION = "0.4.10"; // runtime API API.Parser = chevrotain.Parser