mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Symtab has a new hash map type. New, small, sourcespan, external symbols simplified. Updated docs.
This commit is contained in:
committed by
Christoffer Lerno
parent
e45853c0cb
commit
4f4bc80953
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user