mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Filter \r before lexing.
This commit is contained in:
@@ -282,8 +282,9 @@ static inline bool is_whitespace(char c)
|
||||
case ' ':
|
||||
case '\t':
|
||||
case '\n':
|
||||
case '\r':
|
||||
return true;
|
||||
case '\r':
|
||||
UNREACHABLE
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user