Mercurial > hg > xemacs-beta
diff src/syntax.c @ 4141:77138fc618a9
[xemacs-hg @ 2007-08-24 13:03:04 by crestani]
2007-08-17 Marcus Crestani <crestani@xemacs.org>
* buffer.c (Fkill_buffer):
* objects-tty.c (tty_finalize_color_instance):
* objects-tty.c (tty_finalize_font_instance):
* objects-tty.c (console_type_create_objects_tty):
* syntax.c (uninit_buffer_syntax_cache): Keep functions that do
nothing for NEW_GC instead of removing them.
author | crestani |
---|---|
date | Fri, 24 Aug 2007 13:03:07 +0000 |
parents | 229bd619740a |
children | 25e5e5346d31 |
line wrap: on
line diff
--- a/src/syntax.c Thu Aug 23 21:51:35 2007 +0000 +++ b/src/syntax.c Fri Aug 24 13:03:07 2007 +0000 @@ -537,16 +537,16 @@ reset_buffer_syntax_cache_range (cache, cache->object, 0); } -#ifndef NEW_GC /* finalize the syntax cache for BUF */ void uninit_buffer_syntax_cache (struct buffer *buf) { +#ifndef NEW_GC xfree (buf->syntax_cache, struct syntax_cache *); buf->syntax_cache = 0; +#endif /* not NEW_GC */ } -#endif /* not NEW_GC */ /* extent-specific APIs used in extents.c and insdel.c */