Fix line ending for windows

This commit is contained in:
Jeremy Green 2025-09-02 21:01:56 +01:00
parent 1607012cdd
commit e7fc68e89e
5 changed files with 44 additions and 6 deletions

View file

@ -80,6 +80,8 @@ singlechar(void)
{
if(*ptr == '\n') {
return TOKENIZER_CR;
} else if(*ptr == '\r'){
return TOKENIZER_LF;
} else if(*ptr == ',') {
return TOKENIZER_COMMA;
} else if(*ptr == ';') {