diff options
author | kdx <kikoodx@paranoici.org> | 2023-06-11 03:27:48 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-06-11 03:27:48 +0200 |
commit | 617d9d0d7344c8079a1f028ce1288cc589223366 (patch) | |
tree | 2db57233a67d568dcf5993e0d41832fd4e38092f | |
parent | bd8604234c849a1d612ed26d3d303bf2244589ff (diff) | |
download | golem-617d9d0d7344c8079a1f028ce1288cc589223366.tar.gz |
accept 0x 0b and shit
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ tokenize(char *p) if (isdigit(*p)) { char *q = p; - const unsigned long val = strtoul(p, &p, 10); + const unsigned long val = strtoul(p, &p, 0); cur = cur->next = new_token(TOK_NUM, q, p); cur->val = val; continue; |