Allow negative from-the-end starting indexes in INCBIN (#2181)

This commit is contained in:
Rangi authored and GitHub committed 2026-09-28 20:43:14 -04:00
1 parent ad4e399018
commit c592d665a8
8 files changed
+38 -11

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ void sect_RelBytes(uint32_t n, std::vector<Expression> const &exprs);
void sect_RelWord(Expression const &expr, uint32_t pcShift);
void sect_RelLong(Expression const &expr, uint32_t pcShift);
void sect_PCRelByte(Expression const &expr, uint32_t pcShift);
bool sect_BinaryFile(std::string const &name, uint32_t startPos, std::optional<uint32_t> length);
bool sect_BinaryFile(std::string const &name, int32_t startPos, std::optional<uint32_t> length);
void sect_EndSection();
void sect_PushSection();