This commit is contained in:
litetex 2025-03-05 15:55:46 +01:00
parent 907fc2ac52
commit 77ee25e3b6
No known key found for this signature in database
GPG Key ID: 525B43E6039B3689

View File

@ -256,7 +256,7 @@ public class Lexer {
*/ */
void handleCloseParenBooks(final int start) throws ParsingException { void handleCloseParenBooks(final int start) throws ParsingException {
if (parenStack.isEmpty()) { if (parenStack.isEmpty()) {
throw new ParsingException("unmached closing paren at " + start); throw new ParsingException("unmatched closing paren at " + start);
} }
lastThree.push(new ParenMetaToken(Token.RP, stream.lineno, parenStack.pop())); lastThree.push(new ParenMetaToken(Token.RP, stream.lineno, parenStack.pop()));
} }