mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-01 15:27:48 +00:00
Merge pull request #430 from ISSOtm/known_selfbank
Make `BANK(@)` and `BANK("section")` known to RGBASM
This commit is contained in:
@@ -20,6 +20,8 @@ struct ConstExpression {
|
||||
};
|
||||
|
||||
void constexpr_Symbol(struct ConstExpression *expr, char *tzSym);
|
||||
void constexpr_BanksSymbol(struct ConstExpression *expr, char *tzSym);
|
||||
void constexpr_BankSection(struct ConstExpression *expr, char *tzSym);
|
||||
void constexpr_Number(struct ConstExpression *expr, int32_t i);
|
||||
void constexpr_UnaryOp(struct ConstExpression *expr,
|
||||
int32_t op,
|
||||
|
||||
@@ -29,6 +29,7 @@ extern char *tzObjectname;
|
||||
|
||||
void out_PrepPass2(void);
|
||||
void out_SetFileName(char *s);
|
||||
struct Section *out_FindSectionByName(const char *pzName);
|
||||
void out_NewSection(char *pzName, uint32_t secttype);
|
||||
void out_NewAbsSection(char *pzName, uint32_t secttype, int32_t org,
|
||||
int32_t bank);
|
||||
|
||||
Reference in New Issue
Block a user