From 9823720824c601acaa6a787191521f6cb0b6620e Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Wed, 12 Jun 2024 17:50:24 +0000 Subject: [HiTeX] CWEB rule 69 requires a semicolon. Make the C parts syntactically complete. git-svn-id: svn://tug.org/texlive/trunk@71503 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/hitexdir/hitex.w | 38 ++++++++++++++++---------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/Build/source/texk/web2c/hitexdir/hitex.w b/Build/source/texk/web2c/hitexdir/hitex.w index d3c92975c72..2ddc5703f71 100644 --- a/Build/source/texk/web2c/hitexdir/hitex.w +++ b/Build/source/texk/web2c/hitexdir/hitex.w @@ -9330,7 +9330,7 @@ do {@; if (cur_tok==other_token+'-') {@+negative=!negative;cur_tok=other_token+'+'; } -} while (!(cur_tok!=other_token+'+')) +} while (!(cur_tok!=other_token+'+')); @ A space is ignored after an alphabetic character constant, so that such constants behave like numeric ones. @@ -9451,7 +9451,7 @@ int @!f; /*numerator of a fraction whose denominator is $2^{16}$*/ f=0;arith_error=false;cur_order=normal;negative=false; cur_hfactor=cur_vfactor=0; if (!shortcut) - {@+@; + {@+@@; if ((cur_cmd >= min_internal)&&(cur_cmd <= max_internal)) @@; @@ -9690,7 +9690,7 @@ most of the work has already been done. bool negative; /*should the answer be negated?*/ pointer @!q; /*new glue specification*/ bool @!mu; /*does |level==mu_val|?*/ -mu=(level==mu_val);@; +mu=(level==mu_val);@@; if ((cur_cmd >= min_internal)&&(cur_cmd <= max_internal)) {@+scan_something_internal(level, negative); if (cur_val_level >= glue_val) @@ -16408,7 +16408,7 @@ unsave(); /*that |align_group| was for the whole alignment*/ if (nest[nest_ptr-1].mode_field==mmode) o=display_indent; else o=0; @; +the alignrecords to dummy unset boxes@>@; if (x) { /*Handle an alignment that depends on |hsize| or |vsize|*/ pointer r=get_node(align_node_size); @@ -16473,7 +16473,7 @@ glue_stretch(q)=0;glue_shrink(q)=0; if (width(q)>max_dimen) x=true; #endif q=p; -} while (!(q==null)) +} while (!(q==null)); @ @= {@+width(q)=0;r=link(q);s=glue_ptr(r); @@ -17979,7 +17979,7 @@ quarterword @!t; /*used for replacement counts in discretionary nodes*/ int @!pen; /*use when calculating penalties between lines*/ halfword @!cur_line; /*the current line number being justified*/ @; +first breakpoint@>@; cur_line=prev_graf+1; do {@; @@ -18002,7 +18002,7 @@ Node |r| is the passive node being moved from stack to stack. @= q=break_node(best_bet);cur_p=null; do {r=q;q=prev_break(q);next_break(r)=cur_p;cur_p=r; -} while (!(q==null)) +} while (!(q==null)); @ Glue and penalty and kern and math nodes are deleted at the beginning of a line, except in the anomalous case that the node to be deleted is actually @@ -18700,7 +18700,7 @@ if (hyphen_passed==0) } if (hyphen_passed > 0) @; +word, and continue to develop both branches until they become equivalent@>@; } while (!(j > hn)); link(s)=q @@ -18726,7 +18726,7 @@ list and to |major_tail| until synchronization has been achieved@>; @; hyphen_passed=j-1;link(hold_head)=null; -} while (!(!odd(hyf[j-1]))) +} while (!(!odd(hyf[j-1]))); @ The new hyphen might combine with the previous character via ligature or kern. At this point we have |l-1 <= i < j| and |i < hn|. @@ -19374,7 +19374,7 @@ loop@+{@+h=z-c;@/ otherwise |goto not_found|@>; not_found: z=trie_link(z); /*move to the next hole*/ } -found: @; +found: @@; } @ By making sure that |trie_max| is at least |h+256|, we can be sure that @@ -19408,7 +19408,7 @@ if (l < 256) } while (!(l==ll)); } q=trie_r[q]; -} while (!(q==0)) +} while (!(q==0)); @ To pack the entire linked trie, we use the following recursive procedure. @^recursion@> @@ -24895,14 +24895,14 @@ for (k=hi_mem_min; k<=mem_end; k++) undump_wd(mem[k]); undump_int(var_used);undump_int(dyn_used) @ @= -@; -@; +@@; +@@; dump_int(par_loc);dump_int(write_loc);@/ dump_int(input_loc);@/ @@; @ @= -@; +@@; undump(hash_base, frozen_control_sequence, par_loc); par_token=cs_token_flag+par_loc;@/ undump(hash_base, frozen_control_sequence, write_loc);@/ @@ -24935,7 +24935,7 @@ while (k < l) {@+dump_wd(eqtb[k]);incr(k); } k=j+1;dump_int(k-l); -} while (!(k==int_base)) +} while (!(k==int_base)); @ @= do {j=k; @@ -24954,7 +24954,7 @@ while (k < l) {@+dump_wd(eqtb[k]);incr(k); } k=j+1;dump_int(k-l); -} while (!(k > eqtb_size)) +} while (!(k > eqtb_size)); @ @= k=active_base; @@ -24966,7 +24966,7 @@ undump_int(x); if ((x < 0)||(k+x > eqtb_size+1)) goto bad_fmt; for (j=k; j<=k+x-1; j++) eqtb[j]=eqtb[k-1]; k=k+x; -} while (!(k > eqtb_size)) +} while (!(k > eqtb_size)); @ A different scheme is used to compress the hash table, since its lower region is usually sparse. When |text(p)!=0| for |p <= hash_used|, we output @@ -30055,7 +30055,7 @@ else{@+n=f/mpfract_one;f=f%mpfract_one; } } f=f+mpfract_one; -@; +@@; be_careful=n-el_gordo; if (be_careful+p > 0) {@+arith_error=true;n=el_gordo-p; @@ -30085,7 +30085,7 @@ if (q < mpfract_four) } while (!(f==1)); else do {if (odd(f)) p=p+halfp(q-p);@+else p=halfp(p); f=halfp(f); - } while (!(f==1)) + } while (!(f==1)); @ There's an auxiliary array |randoms| that contains 55 pseudo-random fractions. Using the recurrence $x_n=(x_{n-55}-x_{n-31})\bmod 2^{28}$, -- cgit v1.2.3