202607021917

This commit is contained in:
starcells committed 2026-07-02 19:17:25 +08:00
1 parent 3ecca2cfa8
commit 6a38cf8020
2 files changed
+8 -2

No files matched your search

+7 -1
View File
@@ -7,7 +7,13 @@
.tp 4
flb
add 0 2 4 6 8
%var A 0
%var B 2
%var Ci 4
%var S 6
%var Co 8
add A B Ci S Co
.tp 0
out
+1 -1
View File
@@ -112,7 +112,7 @@ void R8Src::preprocess_lines() {
auto tmp_i = i;
if ((*i)[0] == r8asm_parsemap[r8asm_parse::VAR]) {
datas.insert_or_assign(
(*i)[1], std::get<r8asm_data>(r8asm_arg_stoi((*i)[1])));
(*i)[1], std::get<r8asm_data>(r8asm_arg_stoi((*i)[2])));
i = this->raw_src.erase(i);
} else if ((*i)[0] == r8asm_parsemap[r8asm_parse::INCLUDE]) {
tmp_src = read_src((*i)[1]);