summaryrefslogtreecommitdiff
path: root/Build/source/texk/detex/TLpatches/patch-01-support-old-compiler
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/detex/TLpatches/patch-01-support-old-compiler')
-rw-r--r--Build/source/texk/detex/TLpatches/patch-01-support-old-compiler12
1 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/texk/detex/TLpatches/patch-01-support-old-compiler b/Build/source/texk/detex/TLpatches/patch-01-support-old-compiler
new file mode 100644
index 00000000000..d1cd8dce61e
--- /dev/null
+++ b/Build/source/texk/detex/TLpatches/patch-01-support-old-compiler
@@ -0,0 +1,12 @@
+--- detex.l.orig Mon Jun 15 20:23:15 2020
++++ detex.l Tue Jun 16 06:09:30 2020
+@@ -732,7 +732,8 @@
+ void
+ IncrLineNo()
+ {
+- for (char* c=yytext; *c != '\0'; c++) {
++ char *c;
++ for (c=yytext; *c != '\0'; c++) {
+ if (*c == '\n') {
+ fFileLines[csb]++; fIsColumn0=1;
+ }