dc: fix the "base 2" patch omission of base not being set
This commit is contained in:
parent
76ddc2e3e4
commit
d8850f2d0d
@ -19,7 +19,9 @@ enum { STACK_SIZE = (COMMON_BUFSIZE - offsetof(struct globals, stack)) / sizeof(
|
||||
#define pointer (G.pointer )
|
||||
#define base (G.base )
|
||||
#define stack (G.stack )
|
||||
#define INIT_G() do { } while (0)
|
||||
#define INIT_G() do { \
|
||||
base = 10; \
|
||||
} while (0)
|
||||
|
||||
|
||||
static void push(double a)
|
||||
|
Loading…
Reference in New Issue
Block a user