actually find the parser bug (not handling lines that end in \r\n). formatting changes. comment out functions b/c clang can't be bothered to generate generic function defs if the function that uses it isn't actually part of the main program
This commit is contained in:
@@ -67,7 +67,7 @@ bool load_body(body* out_body, const char* obj_filepath) {
|
||||
start = i + 1;
|
||||
}
|
||||
}
|
||||
if (source[i] == '\n') {
|
||||
if (source[i] == '\n' || source[i] == '\r') {
|
||||
state = ParserState::PREFIX;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user