aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorPaul Eggert1999-11-22 08:19:51 +0000
committerPaul Eggert1999-11-22 08:19:51 +0000
commitca9c056758a507f1508933de24d2410188b978fb (patch)
tree6da0a2b930d59b0c44dbd8f6d29faf8564589319 /src/syntax.c
parentb718982a2a661a3bf4bb226ff164925c3d0f9ed3 (diff)
downloademacs-ca9c056758a507f1508933de24d2410188b978fb.tar.gz
emacs-ca9c056758a507f1508933de24d2410188b978fb.zip
* callproc.c (strerror): Remove decl.
* fileio.c (strerror): Likewise. * process.c (strerror): Likewise. * emacs.c (strerror): Likewise. (Vsystem_messages_locale): Renamed from Vmessages_locale. All uses changed. (Vprevious_system_messages_locale): Likewise, from Vprevious_messages_locale. (Vsystem_time_locale): Likewise, from Vtime_locale. (Vprevious_system_time_locale): Likewise, from Vprevious_time_locale. (ABORT_RETURN_TYPE): New macro. (abort): Return type is now ABORT_RETURN_TYPE. (main): Always invoke init_signals, even if POSIX_SIGNALS is not defined. (syms_of_emacs): messages-locale -> system-messages-locale, previous-messages-locale -> previous-system-messages-locale, time-locale -> system-time-locale, previous-time-locale -> previous-system-time-locale. * gmalloc.c (PP, __ptr_t): Assume ANSI C if STDC_HEADERS is defined. (const): Do not define; that's config.h's job. (<limits.h>): Include if HAVE_LIMITS_H is defined. (CHAR_BIT): Move test for definedness outside of limits.h condition. (<stddef.h>): Include if STDC_HEADERS is defined. (FREE_RETURN_TYPE): New macro. (free): Return type is now FREE_RETURN_TYPE. * lisp.h (synchronize_system_time_locale): Renamed from synchronize_time_locale. All uses changed. (synchronize_system_messages_locale): Likewise, from synchronize_messages_locale. * process.c (sys_siglist): Remove. * syntax.c (scan_sexps_forward): Use abort, not assert. * sysdep.c (my_sys_siglist): New var. (sys_siglist): New macro. Remove old initialized vars of same name. (init_signals): Initialize sys_siglist. * xfns.c (abort): Remove decl; stdlib.h now does this.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c
index da28d6eed6d..d08c29bab53 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -25,7 +25,6 @@ Boston, MA 02111-1307, USA. */
25#include "commands.h" 25#include "commands.h"
26#include "buffer.h" 26#include "buffer.h"
27#include "charset.h" 27#include "charset.h"
28#include <assert.h>
29 28
30/* Make syntax table lookup grant data in gl_state. */ 29/* Make syntax table lookup grant data in gl_state. */
31#define SYNTAX_ENTRY_VIA_PROPERTY 30#define SYNTAX_ENTRY_VIA_PROPERTY
@@ -2612,7 +2611,8 @@ do { prev_from = from; \
2612 goto commentloop; 2611 goto commentloop;
2613 2612
2614 case Scomment: 2613 case Scomment:
2615 assert (state.incomment != 0); /* state.incomment = -1; */ 2614 if (! state.incomment)
2615 abort ();
2616 if (commentstop || boundary_stop) goto done; 2616 if (commentstop || boundary_stop) goto done;
2617 commentloop: 2617 commentloop:
2618 /* The (from == BEGV) test is to enter the loop in the middle so 2618 /* The (from == BEGV) test is to enter the loop in the middle so