diff options
Diffstat (limited to 'shell/math.h')
-rw-r--r-- | shell/math.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/math.h b/shell/math.h index 9f3da7f59..e34b65d5d 100644 --- a/shell/math.h +++ b/shell/math.h | |||
@@ -95,13 +95,14 @@ typedef void FAST_FUNC (*arith_var_set_t)(const char *name, const char *v | |||
95 | //typedef const char* FAST_FUNC (*arith_var_endofname_t)(const char *name); | 95 | //typedef const char* FAST_FUNC (*arith_var_endofname_t)(const char *name); |
96 | 96 | ||
97 | typedef struct arith_state_t { | 97 | typedef struct arith_state_t { |
98 | int errcode; | ||
98 | arith_var_lookup_t lookupvar; | 99 | arith_var_lookup_t lookupvar; |
99 | arith_var_set_t setvar; | 100 | arith_var_set_t setvar; |
100 | // arith_var_endofname_t endofname; | 101 | // arith_var_endofname_t endofname; |
101 | int errcode; | 102 | void *list_of_recursed_names; |
102 | } arith_state_t; | 103 | } arith_state_t; |
103 | 104 | ||
104 | arith_t arith(arith_state_t *state, const char *expr); | 105 | arith_t FAST_FUNC arith(arith_state_t *state, const char *expr); |
105 | 106 | ||
106 | POP_SAVED_FUNCTION_VISIBILITY | 107 | POP_SAVED_FUNCTION_VISIBILITY |
107 | 108 | ||