Debugging single commands translation wip

This commit is contained in:
Hazem Krimi
2024-04-17 18:37:25 +01:00
parent 9760124dc7
commit b26afe682b
5 changed files with 33 additions and 48 deletions
+3 -3
View File
@@ -61,7 +61,7 @@ public:
stringstream vmCodeStream(vmCode);
string text;
smatch matched;
vector<vector<string>> tokens;
vector<vector<string>> commands;
while (getline(vmCodeStream, text, '\n'))
{
@@ -77,10 +77,10 @@ public:
{
matchedVector.push_back(text);
}
tokens.push_back(matchedVector);
commands.push_back(matchedVector);
}
return tokens;
return commands;
}
void closeFile() {