clarity-pattern-parser 10.1.4 → 10.1.5
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.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/patterns/Reference.ts +1 -1
package/package.json
CHANGED
|
@@ -108,7 +108,7 @@ export class Reference implements Pattern {
|
|
|
108
108
|
|
|
109
109
|
const foundPattern = (pattern as Context).getPatternWithinContext(this.name);
|
|
110
110
|
|
|
111
|
-
if (foundPattern != null) {
|
|
111
|
+
if (foundPattern != null && foundPattern.type !== "reference") {
|
|
112
112
|
return foundPattern;
|
|
113
113
|
}
|
|
114
114
|
|