Skip to content

Commit b4a4e7c

Browse files
committed
this needs to have its cache be cleared too
1 parent 7edc0fb commit b4a4e7c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/parser/lexer.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ const insideLongGlyph = specificSpecialUcsur(END_OF_REVERSE_LONG_GLYPH)
243243
.skip(specificSpecialUcsur(START_OF_LONG_GLYPH))
244244
.skip(spaces)
245245
.map<Token>((words) => ({ type: "inside long glyph", words }));
246+
247+
Parser.startCache(cache);
248+
246249
/** Parses a token. */
247250
export const token = choiceOnlyOne<Token>(
248251
spaceLongGlyph,
@@ -267,3 +270,5 @@ export const token = choiceOnlyOne<Token>(
267270
kind: "cartouche",
268271
})),
269272
);
273+
274+
Parser.endCache();

0 commit comments

Comments
 (0)