clarity-pattern-parser 10.2.9 → 10.2.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarity-pattern-parser",
3
- "version": "10.2.9",
3
+ "version": "10.2.11",
4
4
  "description": "Parsing Library for Typescript and Javascript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -301,14 +301,15 @@ export class ExpressionPattern implements Pattern {
301
301
  }
302
302
  break;
303
303
  }
304
- }
304
+ }
305
305
 
306
+ cursor.resolveError();
306
307
  cursor.moveTo(onIndex);
307
308
  }
308
309
 
309
- cursor.resolveError();
310
310
  onIndex = cursor.index;
311
311
  for (let i = 0; i < this._binaryPatterns.length; i++) {
312
+ cursor.resolveError();
312
313
  cursor.moveTo(onIndex);
313
314
 
314
315
  const pattern = this._binaryPatterns[i];