diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-10-11 22:36:28 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-10-11 22:36:28 +0800 |
commit | f6e3b2f8a59922405f42c8bc283e0f5546c25d0e (patch) | |
tree | 6f8a59c3b8f836292fda23c77b1c95eefeae9cc4 /src/mystring.h | |
parent | [PARSER] Report substition errors at expansion time (diff) | |
download | dash-f6e3b2f8a59922405f42c8bc283e0f5546c25d0e.tar.gz dash-f6e3b2f8a59922405f42c8bc283e0f5546c25d0e.zip |
[ARITH] Add assignment and intmax_t support
This patch adds assignment operator support in arithmetic expansions. It also changes the type used to intmax_t.
Diffstat (limited to 'src/mystring.h')
-rw-r--r-- | src/mystring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mystring.h b/src/mystring.h index c9cade6..477cd16 100644 --- a/src/mystring.h +++ b/src/mystring.h @@ -48,6 +48,7 @@ extern const char homestr[]; void scopyn(const char *, char *, int); #endif char *prefix(const char *, const char *); +intmax_t atomax(const char *, int); intmax_t atomax10(const char *); int number(const char *); int is_number(const char *); |