From 86ee288f74b8c0af25e34086bfb36e4d1e4d83f3 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Fri, 19 Feb 2021 13:16:54 +0000 Subject: [CWEB] Replace 'boolean' values in 'fullmanual'. git-svn-id: svn://tug.org/texlive/trunk@57796 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/cwebboot.cin | 4 ++-- Build/source/texk/web2c/cwebdir/ChangeLog | 3 ++- Build/source/texk/web2c/cwebdir/comm-w2c.ch | 4 ++-- Build/source/texk/web2c/cwebdir/cwebman.tex | 14 +++++++------- 4 files changed, 13 insertions(+), 12 deletions(-) (limited to 'Build') 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 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) @@; 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. @= 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). @= -while(1) { +while(true) { change_line++; if (!!input_ln(change_file)) return; if (limit