We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b13c0f2 commit d829fd2Copy full SHA for d829fd2
src/asm/macro.cpp
@@ -6,12 +6,8 @@
6
#include <string.h>
7
#include <string>
8
9
-#include "helpers.hpp"
10
-
11
#include "asm/warning.hpp"
12
13
-#define MAXMACROARGS 99999
14
15
std::shared_ptr<std::string> MacroArgs::getArg(uint32_t i) const {
16
uint32_t realIndex = i + shift - 1;
17
@@ -48,8 +44,6 @@ std::shared_ptr<std::string> MacroArgs::getAllArgs() const {
48
44
void MacroArgs::appendArg(std::shared_ptr<std::string> arg) {
49
45
if (arg->empty())
50
46
warning(WARNING_EMPTY_MACRO_ARG, "Empty macro argument\n");
51
- if (args.size() == MAXMACROARGS)
52
- error("A maximum of " EXPAND_AND_STR(MAXMACROARGS) " arguments is allowed\n");
53
47
args.push_back(arg);
54
}
55
0 commit comments