summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ChangeLog
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2022-02-14 16:00:50 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2022-02-14 16:00:50 +0000
commitdc54dfddee8aa51b8c0747c467abe3f6bed18309 (patch)
treed1cbf607da38a090f8d80f0ca2f68d76b31114cd /Build/source/texk/web2c/ChangeLog
parent08a57555563d6b19cb9bb66b168671033672f7aa (diff)
[CWEB] Add '#line' after '#endif'.
Some people incorporate '@<Section code@>' in preprocessor #if-blocks. (AFAIKS, DEK did this exactly _once_ in his 'reflect.w' example code, but never in any larger system program.) This adds material (lines of code) in the ctangle'd C code wrapped in '#line' directives for the benefit of the compiler/debugger/w.h.y. Depending on the #if-condition, the #line directives in the #if-block get eliminated and the resulting status from previous #line directives kicks the compiler (__LINE__ and possibly __FILE__) and the debugger (e.g., gdb, MSVS) off the track. git-svn-id: svn://tug.org/texlive/trunk@62021 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ChangeLog')
-rw-r--r--Build/source/texk/web2c/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index 5a2f3d40139..8e452dde31a 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,7 @@
+2022-02-14 Andreas Scherer <https://ascherer.github.io>
+
+ * ctangleboot.bin: Add '#line' after '#endif'.
+
2022-02-11 Andreas Scherer <https://ascherer.github.io>
* weave.ch: Fix spacing in math expression.