summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2021-02-19 13:16:54 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2021-02-19 13:16:54 +0000
commit86ee288f74b8c0af25e34086bfb36e4d1e4d83f3 (patch)
treefd82fdeab4707b654511eea118d76ec2f3ca2e44 /Build/source
parent301b1d4268858508a0a144e685087f125aab5dc5 (diff)
[CWEB] Replace 'boolean' values in 'fullmanual'.
git-svn-id: svn://tug.org/texlive/trunk@57796 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/cwebboot.cin4
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog3
-rw-r--r--Build/source/texk/web2c/cwebdir/comm-w2c.ch4
-rw-r--r--Build/source/texk/web2c/cwebdir/cwebman.tex14
4 files changed, 13 insertions, 12 deletions
diff --git a/Build/source/texk/web2c/cwebboot.cin b/Build/source/texk/web2c/cwebboot.cin
index 14f5d558fd0..e087125b6b4 100644
--- a/Build/source/texk/web2c/cwebboot.cin
+++ b/Build/source/texk/web2c/cwebboot.cin
@@ -1457,10 +1457,10 @@ if(strcmp("-quiet",*argv)==0||strcmp("--quiet",*argv)==0)
{show_banner= show_progress= show_happiness= 0;continue;}
for(dot_pos= *argv+1;*dot_pos> '\0';dot_pos++)
if(*dot_pos=='v'){
-show_banner= show_progress= show_happiness= 1;
+show_banner= show_progress= show_happiness= true;
}else
if(*dot_pos=='q'){
-show_banner= show_progress= show_happiness= 0;
+show_banner= show_progress= show_happiness= false;
}else
if(*dot_pos=='d'){
if(sscanf(++dot_pos,"%u",&kpathsea_debug)!=1)/*81:*/
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog
index 59d28030328..fd6eb739c15 100644
--- a/Build/source/texk/web2c/cwebdir/ChangeLog
+++ b/Build/source/texk/web2c/cwebdir/ChangeLog
@@ -13,7 +13,8 @@
* ctangle.w,
* ctwill-w2c.ch,
* cweav-bs.ch,
- * cweave.w: Replace 'boolean' values upstream.
+ * cweave.w,
+ * cwebman.tex: Replace 'boolean' values upstream.
2021-02-18 Andreas Scherer <https://ascherer.github.io>
diff --git a/Build/source/texk/web2c/cwebdir/comm-w2c.ch b/Build/source/texk/web2c/cwebdir/comm-w2c.ch
index db72bdd14b8..a300203de1f 100644
--- a/Build/source/texk/web2c/cwebdir/comm-w2c.ch
+++ b/Build/source/texk/web2c/cwebdir/comm-w2c.ch
@@ -523,10 +523,10 @@ otherwise we add |".w"|.
{ show_banner=show_progress=show_happiness=0; continue; }
for(dot_pos=*argv+1;*dot_pos>'\0';dot_pos++)
if (*dot_pos=='v') {
- show_banner=show_progress=show_happiness=1;
+ show_banner=show_progress=show_happiness=true;
} else
if (*dot_pos=='q') {
- show_banner=show_progress=show_happiness=0;
+ show_banner=show_progress=show_happiness=false;
} else
if (*dot_pos=='d') {
if (sscanf(++dot_pos,"%u",&kpathsea_debug)!=1) @<Print usage error...@>@;
diff --git a/Build/source/texk/web2c/cwebdir/cwebman.tex b/Build/source/texk/web2c/cwebdir/cwebman.tex
index 46c4a6db0fd..45cd576da29 100644
--- a/Build/source/texk/web2c/cwebdir/cwebman.tex
+++ b/Build/source/texk/web2c/cwebdir/cwebman.tex
@@ -1209,7 +1209,7 @@ sets |change_buffer| in preparation for the next matching operation.
Since blank lines in the change file are not used for matching, we have
|(change_limit==change_buffer && !!changing)| if and only if
the change file is exhausted. This procedure is called only when
-|changing| is 1; hence error messages will be reported correctly.
+|changing| is |true|; hence error messages will be reported correctly.
@<Predecl...@>=
static void prime_the_change_buffer(void);@/
@@ -1229,7 +1229,7 @@ allow lines that begin with \.{@@}, as long as they don't begin with \.{@@y},
\.{@@z}, or \.{@@i} (which would probably mean that the change file is fouled up).
@<Skip over comment lines in the change file...@>=
-while(1) {
+while(true) {
change_line++;
if (!!input_ln(change_file)) return;
if (limit<buffer+2) continue;
@@ -1284,7 +1284,7 @@ change_limit= change_buffer;
/*29:*/
#line 250 "common.w"
-while(1){
+while(true){
change_line++;
if(!!input_ln(change_file))return;
if(limit<buffer+2)continue;
@@ -1346,7 +1346,7 @@ sets \PB{\\{change\_buffer}} in preparation for the next matching operation.
Since blank lines in the change file are not used for matching, we have
\PB{$(\\{change\_limit}\E\\{change\_buffer}\W\R\\{changing})$} if and only if
the change file is exhausted. This procedure is called only when
-\PB{\\{changing}} is 1; hence error messages will be reported correctly.
+\PB{\\{changing}} is \\{true}; hence error messages will be reported correctly.
\Y\B\4\X7:Predeclaration of procedures\X${}\mathrel+\E{}$\6
\&{static} \&{void} \\{prime\_the\_change\_buffer}(\&{void});\par
@@ -1371,7 +1371,7 @@ up).
\Y\B\4\X29:Skip over comment lines in the change file; \PB{\&{return}} if end
of file\X${}\E{}$\6
-\&{while} (\T{1})\5
+\&{while} (\\{true})\5
${}\{{}$\1\6
${}\\{change\_line}\PP;{}$\6
\&{if} ${}(\R\\{input\_ln}(\\{change\_file})){}$\1\5
@@ -1425,7 +1425,7 @@ sets \PB{\\{change\_buffer}} in preparation for the next matching operation.
Since blank lines in the change file are not used for matching, we have
\PB{$(\\{change\_limit}\E\\{change\_buffer}\W\R\\{changing})$} if and only if
the change file is exhausted. This procedure is called only when
-\PB{\\{changing}} is 1; hence error messages will be reported correctly.
+\PB{\\{changing}} is \\{true}; hence error messages will be reported correctly.
\Y\B\4\X7:Predeclaration of procedures\X${}\mathrel+\E{}$\6
\&{static} \&{void} \\{prime\_the\_change\_buffer}(\&{void});\par
@@ -1450,7 +1450,7 @@ up).
\Y\B\4\X29:Skip over comment lines in the change file; \PB{\&{return}} if end
of file\X${}\E{}$\6
-\&{while} (\T{1})\5
+\&{while} (\\{true})\5
${}\{{}$\1\6
${}\\{change\_line}\PP;{}$\6
\&{if} ${}(\R\\{input\_ln}(\\{change\_file})){}$\1\5