summaryrefslogtreecommitdiff
path: root/support/splint/tex/yybootstrap.sty
diff options
context:
space:
mode:
Diffstat (limited to 'support/splint/tex/yybootstrap.sty')
-rw-r--r--support/splint/tex/yybootstrap.sty7
1 files changed, 5 insertions, 2 deletions
diff --git a/support/splint/tex/yybootstrap.sty b/support/splint/tex/yybootstrap.sty
index 97ddb1a666..898e385b22 100644
--- a/support/splint/tex/yybootstrap.sty
+++ b/support/splint/tex/yybootstrap.sty
@@ -1,4 +1,4 @@
-% Copyright 2012-2020, Alexander Shibakov
+% Copyright 2012-2024, Alexander Shibakov
% This file is part of SPLinT
%
% SPLinT is free software: you can redistribute it and/or modify
@@ -16,15 +16,18 @@
% token equivalence table does not exist, switch to a bootstrap parser
+\newwrite\tokendefs
+
\ifx\tokendeffile\UNDEFINED
\else
\immediate\openout\tokendefs=\tokendeffile
\fi
+
\genericparser
name: bootstrap,
ptables: \bstrapparser,
ltables: cweb/ltab.tex,
- tokens: {},
+ tokens: \bstraptokens,
asetup: \bootstraplexersetup,
dsetup: \newlexerstateextra\newparserstateextra,
rsetup: {},