Removed original_type, pure, removed bigint, added i128 type, lots of fixes to $Foo, reassigning ct type, catch/macro, "!", removed type inference.

This commit is contained in:
Christoffer Lerno
2021-10-08 10:07:40 +02:00
committed by Christoffer Lerno
parent 1b086e06f1
commit b4df56db54
84 changed files with 4820 additions and 4173 deletions

View File

@@ -250,6 +250,17 @@ static inline bool is_hex(char c)
}
}
static inline int hex_nibble(char c)
{
static int conv[256] = {
['0'] = 0, ['1'] = 1, ['2'] = 2, ['3'] = 3, ['4'] = 4,
['5'] = 5, ['6'] = 6, ['7'] = 7, ['8'] = 8, ['9'] = 9,
['A'] = 10, ['B'] = 11, ['C'] = 12, ['D'] = 13, ['E'] = 14, ['F'] = 15,
['a'] = 10, ['b'] = 11, ['c'] = 12, ['d'] = 13, ['e'] = 14, ['f'] = 15,
};
return conv[(unsigned char)c];
}
static inline bool is_whitespace(char c)
{
switch (c)