diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2022-05-27 11:09:21 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2022-05-27 11:09:21 +0000 |
commit | a0a752c86b459166c18bc676e93192c99fe4c455 (patch) | |
tree | e09051fc78e0a21824e92c62524be744498c9f1f /Build/source/texk/web2c/cwebdir/ctwill-w2c.ch | |
parent | 258262740b735282b25d4c5e6638ede0d40e5afa (diff) |
[CWEB] Finishing touches for 'prod.w'.
Try to match CWEAVE section 111 (prod.w) with the implementation
of the production rules.
git-svn-id: svn://tug.org/texlive/trunk@63411 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/ctwill-w2c.ch')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ctwill-w2c.ch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch b/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch index 79a7c326077..22dc440be80 100644 --- a/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch +++ b/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch @@ -709,7 +709,7 @@ else if ((cat1==binop||cat1==colon) && cat2==exp && (cat3==comma || cat3==semi || cat3==rpar)) squash(pp,3,decl_head,-1,36); else if (cat1==cast) squash(pp,2,decl_head,-1,37); -else if (cat1==lbrace || cat1==int_like || cat1==decl) { +else if (cat1==int_like || cat1==lbrace || cat1==decl) { big_app(dindent); squash(pp,1,fn_decl,0,38); } else if (cat1==semi) squash(pp,2,decl,-1,39); @@ -730,7 +730,7 @@ else if ((cat1==binop||cat1==colon) && cat2==exp && (cat3==comma || cat3==semi || cat3==rpar)) squash(pp,3,decl_head,-1,36); else if (cat1==cast) squash(pp,2,decl_head,-1,37); -else if (cat1==lbrace || cat1==int_like || cat1==decl) { +else if (cat1==int_like || cat1==lbrace || cat1==decl) { if (indent_param_decl) big_app(dindent); squash(pp,1,fn_decl,0,38); } @@ -793,10 +793,10 @@ else if (cat1==stmt) { @z @x - big_app1_insert(pp, (cat1==function || cat1==decl) ? big_force : + big_app1_insert(pp, (cat1==decl || cat1==function) ? big_force : force_lines ? force : break_space); reduce(pp,2,cat1,-1,76); @y - big_app1_insert(pp, (cat1==function || cat1==decl) ? @| + big_app1_insert(pp, (cat1==decl || cat1==function) ? @| ( order_decl_stmt ? big_force : force ) : @| ( force_lines ? force : break_space ) ); reduce(pp,2,cat1,-1,76); @z |