projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[pspp]
/
src
/
devind.c
diff --git
a/src/devind.c
b/src/devind.c
index ad0cbeae0437389a821b6db03efdf9b9f0f82121..9a712e273707b9b1959dddc12c9be8de3af7b915 100644
(file)
--- a/
src/devind.c
+++ b/
src/devind.c
@@
-260,7
+260,7
@@
devind_close_page (struct outp_driver *this)
static void output_tab_table (struct outp_driver *, struct tab_table *);
static void
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;
{
extern struct som_table_class tab_table_class;
struct devind_driver_ext *x = this->ext;
@@
-272,10
+272,10
@@
devind_submit (struct outp_driver *this, struct som_table *s)
return;
}
return;
}
- if (s->class == &tab_table_class)
+ assert (s->class == &tab_table_class);
+
+ if ( s->type == SOM_TABLE )
output_tab_table (this, s->ext);
output_tab_table (this, s->ext);
- else
- assert (0);
}
/* Write string S of length LEN to file F, escaping characters as
}
/* Write string S of length LEN to file F, escaping characters as
@@
-367,7
+367,7
@@
output_tab_table (struct outp_driver *this, struct tab_table *t)
for (c = 0; c < t->nc; c++, ct++)
{
for (c = 0; c < t->nc; c++, ct++)
{
- struct
len
_string *cc;
+ struct
fixed
_string *cc;
struct tab_joined_cell *j;
if (*ct == TAB_EMPTY)
struct tab_joined_cell *j;
if (*ct == TAB_EMPTY)
@@
-474,4
+474,7
@@
struct outp_class devind_class =
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
+
+ NULL,
+ NULL,
};
};