mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Test macro args \0 and \<0>
This commit is contained in:
@@ -672,9 +672,6 @@ static std::shared_ptr<std::string> readMacroArg(char name) {
|
||||
error("Macro argument '\\<%" PRIu32 ">' not defined\n", num);
|
||||
}
|
||||
return str;
|
||||
} else if (name == '0') {
|
||||
error("Invalid macro argument '\\0'\n");
|
||||
return nullptr;
|
||||
} else {
|
||||
assume(name >= '1' && name <= '9');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user