summaryrefslogtreecommitdiff
path: root/parse/tok.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-09-17 01:40:38 -0400
committerOri Bernstein <ori@eigenstate.org>2014-09-17 01:40:38 -0400
commitb42a202d2ca1cae5c112e1cfd881976c944a5261 (patch)
tree9f886790839e4418c2aa352ef4b19d6e2c512abe /parse/tok.c
parentb1fe880775f7019fc3169ea31444cc59d9b232fa (diff)
downloadmc-b42a202d2ca1cae5c112e1cfd881976c944a5261.tar.gz
Float formatting finally implemented.
Diffstat (limited to 'parse/tok.c')
-rw-r--r--parse/tok.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/tok.c b/parse/tok.c
index d29e761..61481d3 100644
--- a/parse/tok.c
+++ b/parse/tok.c
@@ -630,7 +630,7 @@ static Tok *number(int base)
/* because we allow '_' in numbers, and strtod/stroull don't, we
* need a buffer that holds the number without '_'.
*/
- char buf[128];
+ char buf[2048];
size_t nbuf;
t = NULL;