mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 02:32:06 +00:00
Fix a few code style errors
This commit is contained in:
@@ -52,7 +52,7 @@ static char SavedSECOND[3];
|
|||||||
static bool exportall;
|
static bool exportall;
|
||||||
|
|
||||||
struct ForEachArgs {
|
struct ForEachArgs {
|
||||||
void (*func)(struct sSymbol *, void *);
|
void (*func)(struct sSymbol *symbol, void *arg);
|
||||||
void *arg;
|
void *arg;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -398,11 +398,11 @@ struct sSymbol *sym_AddLocalReloc(char const *tzSym)
|
|||||||
|
|
||||||
fullSymbolName(fullname, sizeof(fullname), tzSym, pScope);
|
fullSymbolName(fullname, sizeof(fullname), tzSym, pScope);
|
||||||
return sym_AddReloc(fullname);
|
return sym_AddReloc(fullname);
|
||||||
} else {
|
}
|
||||||
|
|
||||||
yyerror("Local label '%s' in main scope", tzSym);
|
yyerror("Local label '%s' in main scope", tzSym);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Add a relocatable symbol
|
* Add a relocatable symbol
|
||||||
|
|||||||
Reference in New Issue
Block a user