[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/intervals.h
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/intervals.h |
Date: |
Sun, 06 Apr 2003 16:29:13 -0400 |
Index: emacs/src/intervals.h
diff -c emacs/src/intervals.h:1.50 emacs/src/intervals.h:1.51
*** emacs/src/intervals.h:1.50 Wed Jul 17 15:54:19 2002
--- emacs/src/intervals.h Sun Apr 6 16:29:13 2003
***************
*** 125,130 ****
--- 125,134 ----
"next" value, and test the result to see if it's NULL_INTERVAL. */
#define INTERVAL_PARENT_OR_NULL(i) (INTERVAL_HAS_PARENT (i) ? INTERVAL_PARENT
(i) : 0)
+ /* Abort if interval I's size is negative. */
+ #define CHECK_TOTAL_LENGTH(i) \
+ if ((int) (i)->total_length < 0) abort (); else
+
/* Reset this interval to its vanilla, or no-property state. */
#define RESET_INTERVAL(i) \
{ \