aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.c
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-01 14:52:33 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-01 14:52:33 +0100
commit13b8a1e34805b97986841f92a31ed7a4be1f2740 (patch)
tree372ced0a3a583d827989150d3457be979c081c00 /src/tokenizer.c
parent0d4945dc8788e8aa134fbdbd0941d9a6db0b67bc (diff)
Remove `quaternion128` and `quaternion256` as core types
Diffstat (limited to 'src/tokenizer.c')
-rw-r--r--src/tokenizer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tokenizer.c b/src/tokenizer.c
index 056a81f28..8d30a36a1 100644
--- a/src/tokenizer.c
+++ b/src/tokenizer.c
@@ -577,11 +577,9 @@ exponent:
scan_mantissa(t, 10);
}
- switch (t->curr_rune) {
- case 'i': case 'j': case 'k':
+ if (t->curr_rune == 'i') {
token.kind = Token_Imag;
advance_to_next_rune(t);
- break;
}
end: