diff --git a/asm/lib.r8asm b/asm/lib.r8asm index 6de3803..6a4f6a1 100644 --- a/asm/lib.r8asm +++ b/asm/lib.r8asm @@ -132,7 +132,7 @@ bit_copy bit_copy_to_buffer_buf_1 %1 ; %this: Unit operand ; %1: Cell tmp -%macro copy_to_buffer 0 +%macro copy_to_buffer 1 stp .anchor copy_to_buffer_buf_1 btp diff --git a/src/r8asm.cc b/src/r8asm.cc index 7f2f55e..9c0bbb7 100644 --- a/src/r8asm.cc +++ b/src/r8asm.cc @@ -1,7 +1,7 @@ #include "r8asm/r8asm.hh" #include -#include #include +#include #include #include #include @@ -472,6 +472,7 @@ r8asm::ast_node r8asm::parse(const token_stream &stream) { (it != line.tokens.begin() && \ ((present_token->type == token_t::LPAREN || \ present_token->type == token_t::STRING || \ + present_token->type == token_t::PARAMETER || \ (present_token->type == token_t::OPERATOR && \ (present_token->value == "op_neg" || \ present_token->value == "op_not"))) && \