MAJOR_VERSION = 1
MINOR_VERSION = 1
-PATCH_LEVEL = 19
+PATCH_LEVEL = 20
# use to send patches, always empty for released version:
MY_PATCH_LEVEL = # include separator: "-1" or ".a"
#
version 1.1:
+pl 20
+ - List::junk_links()
pl 19
- Array::reverse()
Cursor<T> top() const;
void OK() const; // check list
+ void junk_links();
protected:
friend class Cursor<T>;
}
PCursor<T> find(T) const;
void concatenate(Link_list<T> const &s) { List<void*>::concatenate(s); }
+
Link_list() {}
};
PCol::clean_breakable_items()
{
if (!line_l_) {
- for(iter(its.top(), j); j.ok(); ) {
- j->unlink();
- j.del();
- }
+ its.junk_links();
}
if (prebreak_p_) prebreak_p_->clean_breakable_items();
if (postbreak_p_) postbreak_p_->clean_breakable_items();
typeset_broken_spanner(span_p);
}
}
+ for (iter(elem_p_list_.top(),i ); i.ok() ;) {
+ Item *i_l =i->item();
+ if ( i_l && !i_l->pcol_l_->line_l_) {
+ i_l->unlink();
+ delete i.remove_p();
+ } else
+ i++;
+ }
for (iter_top(cols, i); i.ok(); i++)
i->clean_breakable_items();