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.esm.js CHANGED
@@ -2893,7 +2893,6 @@ class ExpressionPattern {
2893
2893
  lastChild.name === this.name;
2894
2894
  }
2895
2895
  parse(cursor) {
2896
- // This is a cache to help with speed
2897
2896
  this._firstIndex = cursor.index;
2898
2897
  depthCache.incrementDepth(this._id, this._firstIndex);
2899
2898
  this._firstIndex = cursor.index;
@@ -2991,7 +2990,9 @@ class ExpressionPattern {
2991
2990
  }
2992
2991
  break outer;
2993
2992
  }
2994
- break;
2993
+ onIndex = cursor.index;
2994
+ i = -1;
2995
+ continue;
2995
2996
  }
2996
2997
  }
2997
2998
  cursor.resolveError();