aboutsummaryrefslogtreecommitdiffstats
path: root/z29.c
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:39:32 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:39:32 +0000
commit128e9a1532ce7fa38ddc16de06d213530dc5ce15 (patch)
tree97a930289ac5f12779b62507bb07ccf9be39c4a9 /z29.c
parentb2f1a4e879d3013974e41674dbf684d816f1aa95 (diff)
downloadlout-128e9a1532ce7fa38ddc16de06d213530dc5ce15.tar.gz
Lout 3.31.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@31 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'z29.c')
-rw-r--r--z29.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/z29.c b/z29.c
index a6667d9..818882f 100644
--- a/z29.c
+++ b/z29.c
@@ -1,7 +1,7 @@
/*@z29.c:Symbol Table:Declarations, hash()@***********************************/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.30) */
-/* COPYRIGHT (C) 1991, 2004 Jeffrey H. Kingston */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.31) */
+/* COPYRIGHT (C) 1991, 2005 Jeffrey H. Kingston */
/* */
/* Jeffrey H. Kingston (jeff@it.usyd.edu.au) */
/* School of Information Technologies */
@@ -467,7 +467,7 @@ unsigned xpredefined, OBJECT xenclosing, OBJECT xbody)
len = StringLength(str);
hash(str, len, sum);
- ifdebug(DST, DD, sym_spread[sum]++; sym_count++);
+ ifdebug(DST, D, sym_spread[sum]++; sym_count++);
entry = (OBJECT) &symtab[sum];
for( plink = Down(entry); plink != entry; plink = NextDown(plink) )
{ Child(p, plink);
@@ -523,7 +523,7 @@ void InsertAlternativeName(FULL_CHAR *str, OBJECT s, FILE_POS *xfpos)
len = StringLength(str);
hash(str, len, sum);
- ifdebug(DST, DD, sym_spread[sum]++; sym_count++);
+ ifdebug(DST, D, sym_spread[sum]++; sym_count++);
entry = (OBJECT) &symtab[sum];
for( plink = Down(entry); plink != entry; plink = NextDown(plink) )
{ Child(p, plink);
@@ -716,7 +716,7 @@ OBJECT ChildSymWithCode(OBJECT s, unsigned char code)
void CheckSymSpread(void)
{ int i, j, sum, usum; OBJECT entry, plink;
- debug2(DST, DD, "Symbol table spread (table size = %d, symbols = %d):",
+ fprintf(stderr, "Symbol table spread (table size = %d, symbols = %d):",
MAX_TAB, sym_count);
usum = sum = 0;
for( i = 0; i < MAX_TAB; i++ )