diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-03 02:45:54 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-03 02:45:54 -0500 |
commit | 72b20e0c81144adb60f5f342af4ec1cec8a86e9c (patch) | |
tree | 717ac16648ec1d95eba1cda8fb1f4e89f82f0bd0 /tokenizer.c | |
parent | 5d567155b94b71cb247f13d381fcfedb7a30042c (diff) |
small things for more standard compliance
Diffstat (limited to 'tokenizer.c')
-rw-r--r-- | tokenizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokenizer.c b/tokenizer.c index dfa221a..f841d90 100644 --- a/tokenizer.c +++ b/tokenizer.c @@ -94,7 +94,7 @@ static void fprint_token(FILE *out, Token *t) { fprintf(out, "number: "); switch (t->num.kind) { case NUM_LITERAL_INT: - fprintf(out, "%"PRIu64, t->num.intval); + fprintf(out, U64_FMT, t->num.intval); break; case NUM_LITERAL_FLOAT: fprintf(out, "%g", (double)t->num.floatval); |