summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/ctwill-mini.ch
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2024-03-13 22:09:56 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2024-03-13 22:09:56 +0000
commit069a99afd6154c4f5e05e92a3d2ae08490f790cb (patch)
tree534f15c1c9fbb6b30f2c50069b0e6193b279f274 /Build/source/texk/web2c/cwebdir/ctwill-mini.ch
parent4df7336a8f320003f9ddce1ce249791acb736282 (diff)
[CTWILL] Fix page breaks in sections 164 and 173.
git-svn-id: svn://tug.org/texlive/trunk@70628 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/ctwill-mini.ch')
-rw-r--r--Build/source/texk/web2c/cwebdir/ctwill-mini.ch15
1 files changed, 2 insertions, 13 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ctwill-mini.ch b/Build/source/texk/web2c/cwebdir/ctwill-mini.ch
index b6412975911..c5f7a3df85c 100644
--- a/Build/source/texk/web2c/cwebdir/ctwill-mini.ch
+++ b/Build/source/texk/web2c/cwebdir/ctwill-mini.ch
@@ -1343,7 +1343,7 @@ Section 164.
}
else if (cat1==attr) {
@y
- else reduce(pp,0,else_like,0,65);
+ @+else reduce(pp,0,else_like,0,65);
}
@+ else @/ if (cat1==attr) {
@z
@@ -1353,30 +1353,19 @@ Section 170.
@x
@d force_lines flags['f'] /* should each statement be on its own line? */
@d force_first flags['F'] /* should compound statement start on new line? */
-
-@<Set init...@>=
-force_lines=force_first=true;
@y
@d force_lines flags['f'] /* should each statement be on its own line? */
@-force_lines@> @$force_lines {CTWILL}170 =\\{flags}[\.{'f'}]@>
@d force_first flags['F'] /* should compound statement start on new line? */
@-force_first@> @$force_first {CTWILL}170 =\\{flags}[\.{'F'}]@>
-
-@<Set init...@>=@+force_lines=force_first=true;
@z
Section 173.
@x
-if (cat1==if_like || cat1==else_like || cat1==define_like)
-@y
-if (cat1==if_like || cat1==else_like || cat1==define_like) @/
-@z
-
-@x
} else if (cat1==exp || cat1==function) {
@y
-} else @/ if (cat1==exp || cat1==function) {
+} @+ else @/ if (cat1==exp || cat1==function) {
@z
Section 178.