texlive[63216] Build/source/texk/web2c/cwebdir: [CWEB] Use

commits+ascherer at tug.org commits+ascherer at tug.org
Tue May 3 16:45:06 CEST 2022


Revision: 63216
          http://tug.org/svn/texlive?view=revision&revision=63216
Author:   ascherer
Date:     2022-05-03 16:45:05 +0200 (Tue, 03 May 2022)
Log Message:
-----------
[CWEB] Use non-breaking thin space for simple cast.

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/cwebdir/ChangeLog
    trunk/Build/source/texk/web2c/cwebdir/cweave.w
    trunk/Build/source/texk/web2c/cwebdir/prod-cweave.w
    trunk/Build/source/texk/web2c/cwebdir/prod-twill.w
    trunk/Build/source/texk/web2c/cwebdir/prod.w

Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2022-05-02 23:48:52 UTC (rev 63215)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2022-05-03 14:45:05 UTC (rev 63216)
@@ -1,3 +1,10 @@
+2022-05-03  Andreas Scherer  <https://ascherer.github.io>
+
+	* cweave.w,
+	* prod-cweave.w,
+	* prod-twill.w,
+	* prod.w: Use non-breaking thin space for simple cast.
+
 2022-04-30  Andreas Scherer  <https://ascherer.github.io>
 
 	* ctwill-w2c.ch,

Modified: trunk/Build/source/texk/web2c/cwebdir/cweave.w
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/cweave.w	2022-05-02 23:48:52 UTC (rev 63215)
+++ trunk/Build/source/texk/web2c/cwebdir/cweave.w	2022-05-03 14:45:05 UTC (rev 63216)
@@ -2714,7 +2714,7 @@
 @ @<Cases for |cast|@>=
 if (cat1==lpar) squash(pp,2,lpar,-1,21);
 else if (cat1==exp) {
-  big_app1_insert(pp,' '); reduce(pp,2,exp,-2,21);
+  big_app1(pp); app_str("\\,"); big_app1(pp+1); reduce(pp,2,exp,-2,21);
 }
 else if (cat1==semi) reduce(pp,0,exp,-2,22);
 

Modified: trunk/Build/source/texk/web2c/cwebdir/prod-cweave.w
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/prod-cweave.w	2022-05-02 23:48:52 UTC (rev 63215)
+++ trunk/Build/source/texk/web2c/cwebdir/prod-cweave.w	2022-05-03 14:45:05 UTC (rev 63216)
@@ -90,7 +90,7 @@
 \+& |binop| |binop| & |binop| \hfill
                         $|math_rel|\,\.\{B_1\.\}\.\{B_2\.\}\.\}$ & |>>=|\cr
 \+& |cast| \alt |lpar| |exp| & \alt |lpar| |exp| \hfill
-  \alt $CL$ $C\.\ E$ & \malt {$(\&{double})(x+2)$} {(\&{double}) $x$} \cr
+  \alt $CL$ $C\.{\\,}E$ & \malt {$(\&{double})(x+2)$} {(\&{double})\,$x$} \cr
 \+& |cast| |semi| & |exp| |semi| & |(int);|\cr
 \+& |sizeof_like| |cast| & |exp| & |sizeof (double)|\cr
 \+& |sizeof_like| |exp| & |exp| \hfill $S\.\ E$ & \&{sizeof} $x$\cr

Modified: trunk/Build/source/texk/web2c/cwebdir/prod-twill.w
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/prod-twill.w	2022-05-02 23:48:52 UTC (rev 63215)
+++ trunk/Build/source/texk/web2c/cwebdir/prod-twill.w	2022-05-03 14:45:05 UTC (rev 63216)
@@ -90,7 +90,7 @@
 \+& |binop| |binop| & |binop| \hfill
                         $|math_rel|\,\.\{B_1\.\}\.\{B_2\.\}\.\}$ & |>>=|\cr
 \+& |cast| \alt |lpar| |exp| & \alt |lpar| |exp| \hfill
-  \alt $CL$ $C\.\ E$ & \malt {$(\&{double})(x+2)$} {(\&{double}) $x$} \cr
+  \alt $CL$ $C\.{\\,}E$ & \malt {$(\&{double})(x+2)$} {(\&{double})\,$x$} \cr
 \+& |cast| |semi| & |exp| |semi| & |(int);|\cr
 \+& |sizeof_like| |cast| & |exp| & |sizeof (double)|\cr
 \+& |sizeof_like| |exp| & |exp| \hfill $S\.\ E$ & \&{sizeof} $x$\cr

Modified: trunk/Build/source/texk/web2c/cwebdir/prod.w
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/prod.w	2022-05-02 23:48:52 UTC (rev 63215)
+++ trunk/Build/source/texk/web2c/cwebdir/prod.w	2022-05-03 14:45:05 UTC (rev 63216)
@@ -90,7 +90,7 @@
 \+& |binop| |binop| & |binop| \hfill
                         $|math_rel|\,\.\{B_1\.\}\.\{B_2\.\}\.\}$ & |>>=|\cr
 \+& |cast| \alt |lpar| |exp| & \alt |lpar| |exp| \hfill
-  \alt $CL$ $C\.\ E$ & \malt {$(\&{double})(x+2)$} {(\&{double}) $x$} \cr
+  \alt $CL$ $C\.{\\,}E$ & \malt {$(\&{double})(x+2)$} {(\&{double})\,$x$} \cr
 \+& |cast| |semi| & |exp| |semi| & |(int);|\cr
 \+& |sizeof_like| |cast| & |exp| & |sizeof (double)|\cr
 \+& |sizeof_like| |exp| & |exp| \hfill $S\.\ E$ & \&{sizeof} $x$\cr



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