dc: fix the "base 2" patch omission of base not being set

This commit is contained in:
Denis Vlasenko 2008-12-30 10:40:05 +00:00
parent 76ddc2e3e4
commit d8850f2d0d

View File

@ -19,7 +19,9 @@ enum { STACK_SIZE = (COMMON_BUFSIZE - offsetof(struct globals, stack)) / sizeof(
#define pointer (G.pointer ) #define pointer (G.pointer )
#define base (G.base ) #define base (G.base )
#define stack (G.stack ) #define stack (G.stack )
#define INIT_G() do { } while (0) #define INIT_G() do { \
base = 10; \
} while (0)
static void push(double a) static void push(double a)