Stephen,
It looks like you forgot the forward declaration for
reset_buffer_syntax_cache_range:
/usr/local/src/xemacs-21.5-2006-02-21-debug/src/syntax.c: In function
'setup_syntax_cache':
/usr/local/src/xemacs-21.5-2006-02-21-debug/src/syntax.c:294: warning:
implicit declaration of function 'reset_buffer_syntax_cache_range'
/usr/local/src/xemacs-21.5-2006-02-21-debug/src/syntax.c: At top level:
/usr/local/src/xemacs-21.5-2006-02-21-debug/src/syntax.c:363: warning:
conflicting types for 'reset_buffer_syntax_cache_range'
/usr/local/src/xemacs-21.5-2006-02-21-debug/src/syntax.c:363: error:
static declaration of 'reset_buffer_syntax_cache_range' follows
non-static declaration
/usr/local/src/xemacs-21.5-2006-02-21-debug/src/syntax.c:294: error:
previous implicit declaration of 'reset_buffer_syntax_cache_range' was
here
make[1]: *** [syntax.o] Error 1
make[1]: Leaving directory `/usr/local/build/xemacs-21.5-2006-02-21-debug/src'
make: *** [src] Error 2
On 2/21/06, Stephen J. Turnbull <stephen(a)xemacs.org> wrote:
COMMIT 21.5
sjt> It's possible that there will be unexpected changes in
sjt> behavior,
Haven't seen any yet, but there might be some.
Index: src/ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.921
diff -u -r1.921 ChangeLog
--- src/ChangeLog 17 Feb 2006 11:19:17 -0000 1.921
+++ src/ChangeLog 20 Feb 2006 15:12:36 -0000
@@ -0,0 +1,31 @@
+2006-02-19 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ Fix crash (cf. Holger Schauer <yxz7j7xzk97.fsf(a)gimli.holgi.priv>).
+ Improve nomenclature (some identifiers were misnamed with
+ "syntax_table" although they are purely related to syntax cache).
+ Add lots of comments explaining logic and use of arguments.
+
+ * syntax.c (setup_syntax_cache): Fix broken logic that
+ initialized prev_change and next_change members to Qnil for syntax
+ caches associated with buffers, triggering an assertion because
+ the update functions expect those members to markers.
+
+ * syntax.c (signal_syntax_cache_extent_changed):
+ * syntax.c (reset_buffer_syntax_cache_range):
+ Rename reset_buffer_cache_range to reset_buffer_syntax_cache_range.
+
+ * lisp.h (signal_syntax_cache_extent_changed):
+ * syntax.c (signal_syntax_cache_extent_changed)
+ * syntax.c (update_syntax_cache):
+ * extents.c (signal_single_extent_changed):
+ Rename signal_syntax_table_extent_changed to
+ signal_syntax_cache_extent_changed.
+
+ * lisp.h (signal_syntax_cache_extent_adjust):
+ * syntax.c (signal_syntax_cache_extent_adjust):
+ * insdel.c (buffer_delete_range, buffer_insert_string_1):
+ Rename signal_syntax_table_extent_adjust to
+ signal_syntax_cache_extent_adjust.
+
+ * syntax.h (update_syntax_cache): Fix typo in comment.
+
--
School of Systems and Information Engineering
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.