Prepare for running

This commit is contained in:
Valk Richard Li
2019-09-25 07:01:05 -05:00
committed by GitHub
parent 36353389f8
commit 7f5c1c2125
2 changed files with 19 additions and 1 deletions
+8
View File
@@ -50,4 +50,12 @@ nasal_hash::nasal_hash(const nasal_hash& temp)
elem_name=temp.elem_name;
}
nasal_function::nasal_function()
{
root.clear();
}
nasal_function::nasal_function(const nasal_function& temp)
{
root=temp.root;
}
#endif
+11 -1
View File
@@ -10,7 +10,8 @@ enum var_type
var_number,
var_string,
var_list,
var_hash
var_hash,
var_function
};
class nasal_list;
@@ -46,4 +47,13 @@ class nasal_hash
nasal_hash(const nasal_hash&);
};
class nasal_function
{
private:
std::list<ast_tree_node> root;
public:
nasal_function();
nasal_function(const nasal_function&);
};
#endif