summaryrefslogtreecommitdiff
path: root/tokenizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tokenizer.c')
-rw-r--r--tokenizer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tokenizer.c b/tokenizer.c
index 6b4cc1b..3f83e6f 100644
--- a/tokenizer.c
+++ b/tokenizer.c
@@ -375,6 +375,10 @@ static Status tokenize_file(Tokenizer *t, File *file) {
base = 16;
tokr_nextchar(t);
break;
+ case 'o':
+ base = 8;
+ tokr_nextchar(t);
+ break;
default:
/* it's 0/0.something etc. */
break;