aboutsummaryrefslogtreecommitdiffstats
path: root/z08.c
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:36:01 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:36:01 +0000
commit2f4268e5e02216be53cd85816362191373512463 (patch)
tree57165bf2889337044bc3633854e5aa38f7d89e6b /z08.c
parent73d840b9f14b65166b92e6b43f930fd0ef7b8267 (diff)
downloadlout-2f4268e5e02216be53cd85816362191373512463.tar.gz
Lout 3.20.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@9 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'z08.c')
-rw-r--r--z08.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/z08.c b/z08.c
index 99efc43..3bc3d02 100644
--- a/z08.c
+++ b/z08.c
@@ -1,6 +1,6 @@
/*@z08.c:Object Manifest:ReplaceWithSplit()@**********************************/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.19) */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.20) */
/* COPYRIGHT (C) 1991, 2000 Jeffrey H. Kingston */
/* */
/* Jeffrey H. Kingston (jeff@cs.usyd.edu.au) */
@@ -789,6 +789,8 @@ OBJECT *enclose, BOOLEAN fcr)
Error(8, 19, "filter parameter of %s symbol is not simple",
FATAL, &fpos(command), SymName(enclosing(sym)));
y = FilterExecute(x, string(command), res_env);
+ debug2(DFH, D, "after \"%s\", will manifest result with style %s",
+ string(command), EchoStyle(style));
DisposeObject(command);
ReplaceNode(y, x);
DisposeObject(x);
@@ -1241,12 +1243,15 @@ OBJECT *enclose, BOOLEAN fcr)
}
/* implement FILL_OFF break option if required */
+ /* *** this has been moved now to MinSize, z12.c *** */
+
+ /* ***
if( ok && multiline && fill_style(*style) == FILL_UNDEF )
Error(8, 25, "missing %s symbol or option", FATAL, &fpos(x), KW_BREAK);
if( ok && multiline && fill_style(*style) == FILL_OFF )
{ OBJECT prev_acat, new_acat; BOOLEAN jn;
- /* compress any ACAT children of ACAT x */
+ %* compress any ACAT children of ACAT x *%
for( link = x; NextDown(link) != x; link = NextDown(link) )
{ Child(y, NextDown(link));
if( type(y) == ACAT )
@@ -1256,7 +1261,7 @@ OBJECT *enclose, BOOLEAN fcr)
}
}
- /* do line breaks now */
+ %* do line breaks now *%
prev_acat = x;
New(x, VCAT);
adjust_cat(x) = FALSE;
@@ -1305,7 +1310,7 @@ OBJECT *enclose, BOOLEAN fcr)
}
}
- /* remove any singleton ACAT objects under x, if they are VCATs */
+ %* remove any singleton ACAT objects under x, if they are VCATs *%
for( link = Down(x); link != x; link = NextDown(link) )
{ Child(y, link);
if( type(y) == ACAT && Down(y) == LastDown(y) )
@@ -1317,6 +1322,7 @@ OBJECT *enclose, BOOLEAN fcr)
}
}
}
+ *** */
ReplaceWithSplit(x, bthr, fthr);
break;
@@ -1404,7 +1410,7 @@ OBJECT *enclose, BOOLEAN fcr)
y = Manifest(y, env, style, nbt, nft, &ntarget, crs, FALSE, FALSE,
&nenclose, fcr);
y = ReplaceWithTidy(y, FALSE);
- GetGap(y, style, &line_gap(save_style(x)), &res_gap);
+ GetGap(y, style, &line_gap(save_style(x)), &res_inc);
/* now the right parameter */
Child(y, LastDown(x));