texlive[57796] Build/source/texk/web2c: [CWEB] Replace 'boolean'

commits+ascherer at tug.org commits+ascherer at tug.org
Fri Feb 19 14:16:55 CET 2021


Revision: 57796
          http://tug.org/svn/texlive?view=revision&revision=57796
Author:   ascherer
Date:     2021-02-19 14:16:54 +0100 (Fri, 19 Feb 2021)
Log Message:
-----------
[CWEB] Replace 'boolean' values in 'fullmanual'.

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/cwebboot.cin
    trunk/Build/source/texk/web2c/cwebdir/ChangeLog
    trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch
    trunk/Build/source/texk/web2c/cwebdir/cwebman.tex

Modified: trunk/Build/source/texk/web2c/cwebboot.cin
===================================================================
--- trunk/Build/source/texk/web2c/cwebboot.cin	2021-02-19 12:34:28 UTC (rev 57795)
+++ trunk/Build/source/texk/web2c/cwebboot.cin	2021-02-19 13:16:54 UTC (rev 57796)
@@ -1457,10 +1457,10 @@
 {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:*/

Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2021-02-19 12:34:28 UTC (rev 57795)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2021-02-19 13:16:54 UTC (rev 57796)
@@ -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>
 

Modified: trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch	2021-02-19 12:34:28 UTC (rev 57795)
+++ trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch	2021-02-19 13:16:54 UTC (rev 57796)
@@ -523,10 +523,10 @@
   { 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...@>@;

Modified: trunk/Build/source/texk/web2c/cwebdir/cwebman.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/cwebman.tex	2021-02-19 12:34:28 UTC (rev 57795)
+++ trunk/Build/source/texk/web2c/cwebdir/cwebman.tex	2021-02-19 13:16:54 UTC (rev 57796)
@@ -1209,7 +1209,7 @@
 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 @@
 \.{@@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 @@
 /*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 @@
 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 @@
 
 \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 @@
 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 @@
 
 \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



More information about the tex-live-commits mailing list.