Add booleans

This commit is contained in:
2019-05-27 21:57:41 -07:00
parent 626fd1629b
commit ede35fe3ba
3 changed files with 20 additions and 3 deletions

View File

@@ -41,6 +41,14 @@ struct expr_id : expr {
virtual void print_dot(dot& into, std::string prefix);
};
struct expr_bool : expr {
bool val;
expr_bool(bool v) : val(v) {}
virtual void print_dot(dot& into, std::string prefix);
};
struct expr_int : expr {
int val;