We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dc894b commit 95f73a3Copy full SHA for 95f73a3
src/parser/parser.ts
@@ -593,6 +593,8 @@ const clause = choice<Clause>(
593
)
594
.filter(filter(CLAUSE_RULE));
595
const contextClause = choice<ContextClause>(
596
+ wordUnit(new Set(["anu"]), '"anu"').map((anu) => ({ type: "anu", anu })),
597
+ nanpa.map((nanpa) => ({ ...nanpa, type: "nanpa" })),
598
sequence(
599
preposition,
600
many(optionalComma.with(preposition)),
@@ -605,8 +607,6 @@ const contextClause = choice<ContextClause>(
605
607
type: "prepositions",
606
608
prepositions,
609
})),
- nanpa.map((nanpa) => ({ ...nanpa, type: "nanpa" })),
- wordUnit(new Set(["anu"]), '"anu"').map((anu) => ({ type: "anu", anu })),
610
clause,
611
612
.filter(filter(CONTEXT_CLAUSE_RULE));
0 commit comments