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
+6 -1
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;