diff --git a/src/compiler/synt-sm.cc b/src/compiler/synt-sm.cc index 8a62829..8ffc1d2 100644 --- a/src/compiler/synt-sm.cc +++ b/src/compiler/synt-sm.cc @@ -358,8 +358,6 @@ bool statemachine::tail_call(const statemachine &from) bool statemachine::inline_call(std::string tab, const statemachine &from) { - if(complete) - return p.error("table '" + _name + "' was already completed"); if(from.complete) return p.error("table '" + from._name + "' was already completed"); diff --git a/src/syntax/basic.syn b/src/syntax/basic.syn index db9d02f..2442f03 100644 --- a/src/syntax/basic.syn +++ b/src/syntax/basic.syn @@ -542,9 +542,9 @@ LINE_ASSIGNMENT: ARRAY_BYTE_ADDR emit TOK_SADDR EQUAL EXPR emit TOK_POKE VAR_STR_LVALUE_SADDR EQUAL STR_EXPR emit TOK_COPY_STR VAR_STR_LVALUE_SADDR EQUAL "+" STR_EXPR emit TOK_CAT_STR + pass PARSE_START: - E_EOL STATEMENT E_EOL LINE_ASSIGNMENT E_EOL