This commit is contained in:
ValKmjolnir
2021-10-16 23:36:43 +08:00
parent a7b1851967
commit d7cffc76bd
5 changed files with 114 additions and 117 deletions
+1
View File
@@ -100,6 +100,7 @@ private:
nasal_ast ret_expr();
public:
uint32_t err(){return error;}
void print(){root.print(0);}
void compile(const nasal_lexer&);
nasal_ast& ast(){return root;}
const nasal_ast& ast() const {return root;}