{
bignum_length_type length = (BIGNUM_LENGTH (bignum));
bignum_length_type index = length - 1;
- bignum_length_type scale_words = length - 1;
+ bignum_length_type scale_words;
bignum_digit_type msd = (BIGNUM_REF (bignum, (index)));
#if (FLT_RADIX == 2)
int bits_to_get = DBL_MANT_DIG; /* includes implicit 1 */
{
bignum_digit_type guess;
bignum_digit_type comparand;
- bignum_digit_type v1 = (HD_HIGH (v));
- bignum_digit_type v2 = (HD_LOW (v));
+ bignum_digit_type v1;
+ bignum_digit_type v2;
bignum_digit_type uj;
bignum_digit_type uj_uj1;
bignum_digit_type q1;
{
SCHEME_OBJECT * cache_address = (MEMORY_LOC (block, offset));
unsigned long frame_size = (read_uuo_frame_size (cache_address));
- SCHEME_OBJECT orig_proc;
trampoline_type_t kind;
long result;
SCHEME_OBJECT trampoline;
if (REFERENCE_TRAP_P (procedure))
return (make_fake_uuo_link (cache, block, offset));
- orig_proc = procedure;
loop:
switch (OBJECT_TYPE (procedure))
{
else
{
ungetc (c, input);
- (*scan_buffer++) = '\0';
+ (*scan_buffer) = '\0';
break;
}
}
void
print_primitives (FILE * output, int limit)
{
- int last;
int count;
char * table_entry;
- last = (limit - 1);
-
/* Print the procedure table. */
fprintf
(output,
static void run_gc_loop (SCHEME_OBJECT * , SCHEME_OBJECT **);
static SCHEME_OBJECT gc_transport_weak_pair (SCHEME_OBJECT);
-static void tospace_closed (void);
-static void tospace_open (void);
+static void tospace_closed (void) NORETURN;
+static void tospace_open (void) NORETURN;
#ifdef ENABLE_GC_DEBUGGING_TOOLS
# ifndef GC_SCAN_HISTORY_SIZE
#include "outf.h"
#include "dstack.h"
+static void error (const char *, const char *) NORETURN;
+
static void
error (const char * procedure_name, const char * message)
{
unsigned long prev_restore_history_offset;
static SCHEME_OBJECT copy_history (SCHEME_OBJECT);
+static void error_death (long, char *) NORETURN;
\f
/* Helper procedures for setup_interrupt, which follows. */
extern void block_signals (void);
extern void unblock_signals (void);
+static void error (const char *, const char *) NORETURN;
+
static void
error (const char * procedure_name, const char * message)
{
((arg), (1 << ((unsigned int) event_type_supremum))))
#define EVENT_ENABLED(xw, type) \
- (((xw) == 0) \
- || (((XW_EVENT_MASK (xw)) & (1 << ((unsigned int) (type)))) != 0))
+ (((XW_EVENT_MASK (xw)) & (1 << ((unsigned int) (type)))) != 0)
#define EVENT_0 2
#define EVENT_1 3
= (x_window_to_xw (((event->xany) . display),
((event->xany) . window)));
SCHEME_OBJECT result = SHARP_F;
+ if (xw == 0)
+ return result;
switch (event->type)
{
case KeyPress: