202608261937

This commit is contained in:
starcells committed 2026-08-26 19:37:44 +08:00
1 parent d3cbf6b2e1
commit af249dc285
1 file changed
+2 -2
+2 -2
View File
@@ -83,14 +83,14 @@ r8asm::general_data r8asm::ast::read_parameter(std::string index_str) {
r8asm::ast_node_t::ROT8, std::string("rot8_") + INS, {} \
}
r8asm::ast_node r8asm::ast::expand_node_to_ins(const ast_node &node) {
ast_node to_return = {ast_node_t::CODEBLOCK,"",{}};
ast_node to_return = {ast_node_t::CODEBLOCK, "", {}};
switch (node.type) {
case ast_node_t::ROT8: {
/*
ROT8
value: type
*/
to_return = {node};
to_return.children = {node};
switch (rot8_map.at(node.value)) {
case rot8_t::STP:
dataptr++;