Skip to content

Commit

Permalink
release 0.5.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahar Soel committed Dec 23, 2015
1 parent 5b22452 commit 66a332a
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ deploy:
api_key:
secure: DNq1wbqLPHVpJPDx9O89HZM+RJB6v2R7/wk8pok7Z8NT72kUWdvbqcThGhczPO4sZ8cUTJ3ergTCE8hs9mynlR/lX6932U4fj4+uICQL9+G+deBB/t2SNyTBllkE64WrJ9BKmQvIk/Chh7ZJOM0Fro3p2BIq3JsVnfYg1tZ3U5o=
file:
- package/chevrotain-binaries-0.5.10.zip
- package/chevrotain-binaries-0.5.10.tar.gz
- package/chevrotain-binaries-0.5.11.zip
- package/chevrotain-binaries-0.5.11.tar.gz
on:
tags : true
all_branches: true
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chevrotain",
"version": "0.5.10",
"version": "0.5.11",
"description": "Chevrotain is a high performance fault Tolerant Javascript parsing DSL for building recursive decent parsers",
"main": "release/chevrotain.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chevrotain",
"version": "0.5.10",
"version": "0.5.11",
"description": "Chevrotain is a high performance fault Tolerant Javascript parsing DSL for building recursive decent parsers",
"keywords": [
"parser",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ the code generation phase.

## Documentation
* [Latest released version's HTML docs](http://sap.github.io/chevrotain/documentation)
* [Parsing DSL](http://sap.github.io/chevrotain/documentation/0_5_10/classes/chevrotain.parser.html#at_least_one)
* [Parsing DSL](http://sap.github.io/chevrotain/documentation/0_5_11/classes/chevrotain.parser.html#at_least_one)

* Annotated source code (dev version):
* [tokens_public.ts](https://github.com/SAP/chevrotain/blob/master/src/scan/tokens_public.ts)
Expand Down
2 changes: 1 addition & 1 deletion release/chevrotain.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! chevrotain - v0.5.10 - 2015-12-20 */
/*! chevrotain - v0.5.11 - 2015-12-23 */
declare module chevrotain {
module lang {
class HashTable<V>{}
Expand Down
8 changes: 4 additions & 4 deletions release/chevrotain.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
}(this, function (_) {

/*! chevrotain - v0.5.10 - 2015-12-20 */
/*! chevrotain - v0.5.11 - 2015-12-23 */
var chevrotain;
(function (chevrotain) {
var lang;
Expand Down Expand Up @@ -2024,6 +2024,7 @@ var chevrotain;
var matched;
while (matched = pattern.exec(text)) {
var start = matched.index;
// note that (start + matched[0].length) is the first character AFTER the match
var stop = findTerminatorOffSet(start + matched[0].length, text);
var currRange = new r.Range(start, stop);
var currText = text.substr(start, stop - start + 1);
Expand All @@ -2033,9 +2034,8 @@ var chevrotain;
}
function findClosingOffset(opening, closing, start, text) {
var parenthesisStack = [1];
var i = 0;
var i = -1;
while (!(_.isEmpty(parenthesisStack)) && i + start < text.length) {
// TODO: verify this is indeed meant to skip the first character?
i++;
var nextChar = text.charAt(start + i);
if (nextChar === opening) {
Expand Down Expand Up @@ -3723,7 +3723,7 @@ var API = {};
/* istanbul ignore next */
if (!testMode) {
// semantic version
API.VERSION = "0.5.10";
API.VERSION = "0.5.11";
// runtime API
API.Parser = chevrotain.Parser;
API.Lexer = chevrotain.Lexer;
Expand Down
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let API:any = {}
/* istanbul ignore next */
if (!testMode) {
// semantic version
API.VERSION = "0.5.10";
API.VERSION = "0.5.11";

// runtime API
API.Parser = chevrotain.Parser
Expand Down

0 comments on commit 66a332a

Please sign in to comment.