Use std::string for macro args

This commit is contained in:
Rangi42
2024-03-02 05:23:15 -05:00
parent b130c2e27c
commit 2069a95e0f
5 changed files with 14 additions and 26 deletions

View File

@@ -5,6 +5,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <string>
#include <vector>
#include "asm/warning.hpp"
@@ -13,10 +14,9 @@
struct MacroArgs {
unsigned int shift;
std::vector<char *> args;
std::vector<std::string> args;
void append(char *s);
void clear();
void append(std::string s);
};
MacroArgs *macro_GetCurrentArgs();