diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2022-02-18 15:05:01 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2022-02-18 15:05:01 +0000 |
commit | a08701547a59868dd82bab32735f7c56d2636370 (patch) | |
tree | 62fb36019157e66b07ebe7c4bf9f953811911cf6 /Build/source/texk/web2c/cwebdir/common.c | |
parent | 316ad31f72ca37c485f1261b13d3fee400359163 (diff) |
[CWEB] Avoid preprocessor calamities.
Trying to fix all loopholes in weird stuff like
https://github.com/ascherer/cweb/blob/cweb-4.8-dev/if.w
by repeating '#line' directives after all '#elif', '#else',
and '#endif' preprocessor statements. In almost all cases
this information is redundant, but in the past years people
have come up with the idea to jump to '@<code sections@>'
in '#if' blocks.
git-svn-id: svn://tug.org/texlive/trunk@62066 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/common.c')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/cwebdir/common.c b/Build/source/texk/web2c/cwebdir/common.c index c36f50ffb16..bcf6c54f84f 100644 --- a/Build/source/texk/web2c/cwebdir/common.c +++ b/Build/source/texk/web2c/cwebdir/common.c @@ -732,10 +732,10 @@ else{ if((l= strlen(CWEBINPUTS))> max_file_name_length-2)too_long(); strcpy(temp_file_name,CWEBINPUTS); #else -l= 0; -#endif -#line 475 "common.w" - +#line 474 "common.w" + l= 0; +#endif +#line 476 "common.w" } if(l> 0){ if(k+l+2>=cur_file_name_end)too_long(); |