1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 04:24:43 +00:00

Fixing mkldscript.c for mac (#563)

This commit is contained in:
Ethan Roseman 2020-12-25 16:38:57 -05:00 committed by GitHub
parent a8ae9f48b7
commit 60b1f5dd41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,10 +194,15 @@ static void parse_rom_spec(char *spec)
while (line[0] != 0)
{
char *nextLine = line_split(line);
char* stmtName;
if (line[0] != 0)
{
char *stmtName = skip_whitespace(line);
stmtName = skip_whitespace(line);
}
if (line[0] != 0 && stmtName[0] != 0)
{
char *args = token_split(stmtName);
unsigned int stmt;