aboutsummaryrefslogtreecommitdiffstats
path: root/z06.c
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:36:56 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:36:56 +0000
commit162643f981292504f375a7f834d408a4a0fa7f46 (patch)
treea52e523ace2e98b57c761a8319f45b8aee208fce /z06.c
parentb10d39aec443165093f8f28bc6f940530b89cdaf (diff)
downloadlout-162643f981292504f375a7f834d408a4a0fa7f46.tar.gz
Lout 3.22.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@13 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'z06.c')
-rw-r--r--z06.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/z06.c b/z06.c
index 3e5ccb6..aab419c 100644
--- a/z06.c
+++ b/z06.c
@@ -1,6 +1,6 @@
/*@z06.c:Parser:PushObj(), PushToken(), etc.@*********************************/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.21) */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.22) */
/* COPYRIGHT (C) 1991, 2000 Jeffrey H. Kingston */
/* */
/* Jeffrey H. Kingston (jeff@cs.usyd.edu.au) */
@@ -64,7 +64,8 @@ static void check_yield(OBJECT y, OBJECT *res_yield, BOOLEAN *all_literals)
Child(s1, Down(y));
debug1(DOP, DD, " checkyield(%s)", EchoObject(y));
if( is_word(type(s1)) )
- { if( StringEqual(string(s1),BackEndWord) || StringEqual(string(s1),STR_ELSE) )
+ { if( StringEqual(string(s1), BackEnd->name) ||
+ StringEqual(string(s1),STR_ELSE) )
if( *res_yield == nilobj ) *res_yield = y;
}
else if( type(s1) == ACAT )
@@ -72,7 +73,8 @@ static void check_yield(OBJECT y, OBJECT *res_yield, BOOLEAN *all_literals)
{ Child(z, link);
if( type(z) == GAP_OBJ ) continue;
if( is_word(type(z)) )
- { if( StringEqual(string(z),BackEndWord)||StringEqual(string(s1),STR_ELSE))
+ { if( StringEqual(string(z), BackEnd->name) ||
+ StringEqual(string(s1), STR_ELSE))
if( *res_yield == nilobj ) *res_yield = y;
}
else