summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--shell/math.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/math.h b/shell/math.h
index 32e1ffe35..2c5ae9b44 100644
--- a/shell/math.h
+++ b/shell/math.h
@@ -72,6 +72,8 @@ typedef long arith_t;
#define ARITH_FMT "%ld"
#define strto_arith_t strtoul
#endif
+//TODO: bash supports "BASE#nnnnn" numeric literals, e.g. 2#1111 = 15.
+//Make strto_arith_t() support that?
typedef const char* FAST_FUNC (*arith_var_lookup_t)(const char *name);
typedef void FAST_FUNC (*arith_var_set_t)(const char *name, const char *val);