202608261937
This commit is contained in:
1 parent
d3cbf6b2e1
commit
af249dc285
1 file changed
+2
-2
+2
-2
@@ -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++;
|
||||
|
||||
Reference in new issue
Block a user