clarity-pattern-parser 10.3.0 → 10.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2897,7 +2897,6 @@ class ExpressionPattern {
2897
2897
  lastChild.name === this.name;
2898
2898
  }
2899
2899
  parse(cursor) {
2900
- // This is a cache to help with speed
2901
2900
  this._firstIndex = cursor.index;
2902
2901
  depthCache.incrementDepth(this._id, this._firstIndex);
2903
2902
  this._firstIndex = cursor.index;
@@ -2995,7 +2994,9 @@ class ExpressionPattern {
2995
2994
  }
2996
2995
  break outer;
2997
2996
  }
2998
- break;
2997
+ onIndex = cursor.index;
2998
+ i = -1;
2999
+ continue;
2999
3000
  }
3000
3001
  }
3001
3002
  cursor.resolveError();