summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/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/cwebdir/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/cwebdir/ChangeLog')
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog
index 04c561584b3..20dac101e9f 100644
--- a/Build/source/texk/web2c/cwebdir/ChangeLog
+++ b/Build/source/texk/web2c/cwebdir/ChangeLog
@@ -1,3 +1,9 @@
+2022-02-14 Andreas Scherer <https://ascherer.github.io>
+
+ * common.c,
+ * ctangle.c,
+ * ctangle.w: Add '#line' after '#endif'.
+
2022-02-10 Andreas Scherer <https://ascherer.github.io>
* ctwimac.tex: Add silent \datecontentspage macro.