Symtab has a new hash map type. New, small, sourcespan, external symbols simplified. Updated docs.

This commit is contained in:
Christoffer Lerno
2022-02-19 05:10:40 +01:00
committed by Christoffer Lerno
parent e45853c0cb
commit 4f4bc80953
60 changed files with 3792 additions and 3519 deletions

View File

@@ -326,6 +326,7 @@ static inline bool is_alphanum_(char c)
}
}
static inline bool is_letter(char c)
{
switch (c)
@@ -348,6 +349,11 @@ static inline bool is_letter(char c)
}
}
INLINE bool is_letter_(char c)
{
return is_letter(c) || c == '_';
}
static inline bool is_number(char c)
{
return c >= '0' && c <= '9';