clarity-pattern-parser 10.2.3 → 10.2.4
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
|
@@ -2848,6 +2848,7 @@ class ExpressionPattern {
|
|
|
2848
2848
|
let lastBinaryNode = null;
|
|
2849
2849
|
let onIndex = cursor.index;
|
|
2850
2850
|
outer: while (true) {
|
|
2851
|
+
cursor.resolveError();
|
|
2851
2852
|
onIndex = cursor.index;
|
|
2852
2853
|
for (let i = 0; i < this._unaryPatterns.length; i++) {
|
|
2853
2854
|
cursor.moveTo(onIndex);
|
|
@@ -2890,6 +2891,7 @@ class ExpressionPattern {
|
|
|
2890
2891
|
}
|
|
2891
2892
|
cursor.moveTo(onIndex);
|
|
2892
2893
|
}
|
|
2894
|
+
cursor.resolveError();
|
|
2893
2895
|
onIndex = cursor.index;
|
|
2894
2896
|
for (let i = 0; i < this._binaryPatterns.length; i++) {
|
|
2895
2897
|
cursor.moveTo(onIndex);
|