pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/devind.c


From: John Darrington
Subject: [Pspp-cvs] Changes to pspp/src/devind.c
Date: Thu, 13 Jan 2005 23:05:50 -0500

Index: pspp/src/devind.c
diff -u pspp/src/devind.c:1.4 pspp/src/devind.c:1.5
--- pspp/src/devind.c:1.4       Mon May 31 05:50:28 2004
+++ pspp/src/devind.c   Fri Jan 14 04:05:47 2005
@@ -260,7 +260,7 @@
 static void output_tab_table (struct outp_driver *, struct tab_table *);
 
 static void
-devind_submit (struct outp_driver *this, struct som_table *s)
+devind_submit (struct outp_driver *this, struct som_entity *s)
 {
   extern struct som_table_class tab_table_class;
   struct devind_driver_ext *x = this->ext;
@@ -272,10 +272,10 @@
       return;
     }
 
-  if (s->class == &tab_table_class)
+  assert (s->class == &tab_table_class);
+
+  if ( s->type == SOM_TABLE ) 
     output_tab_table (this, s->ext);
-  else
-    assert (0);
 }
 
 /* Write string S of length LEN to file F, escaping characters as
@@ -474,4 +474,7 @@
   NULL,
   NULL,
   NULL,
+
+  NULL,
+  NULL,
 };




reply via email to

[Prev in Thread] Current Thread [Next in Thread]