summaryrefslogtreecommitdiff
path: root/parse/tok.c
diff options
context:
space:
mode:
authorOri Bernstein <orib@google.com>2013-03-20 12:18:56 -0400
committerOri Bernstein <orib@google.com>2013-03-20 12:18:56 -0400
commit4bc5bb61778432697dc3ce477335ada578cf3474 (patch)
tree39654606fc0de6c073f5e85b44966061f5c6cce8 /parse/tok.c
parent407ef33694a8ac5518297af488759b8f8df19e06 (diff)
downloadmc-4bc5bb61778432697dc3ce477335ada578cf3474.tar.gz
Retab.
Diffstat (limited to 'parse/tok.c')
-rw-r--r--parse/tok.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse/tok.c b/parse/tok.c
index 0a1cd2e..339fc41 100644
--- a/parse/tok.c
+++ b/parse/tok.c
@@ -526,11 +526,11 @@ static Tok *number(int base)
if (isfloat && base == 10) {
t = mktok(Tfloatlit);
t->str = strdupn(&fbuf[start], fidx - start);
- t->fltval = strtod(t->str, NULL);
+ t->fltval = strtod(t->str, NULL);
} else {
t = mktok(Tintlit);
t->str = strdupn(&fbuf[start], fidx - start);
- t->intval = strtol(t->str, NULL, base);
+ t->intval = strtol(t->str, NULL, base);
}
return t;