diff options
Diffstat (limited to 'include/chillAST/chillASTs.hh')
-rw-r--r-- | include/chillAST/chillASTs.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/chillAST/chillASTs.hh b/include/chillAST/chillASTs.hh index fb27373..2c7006d 100644 --- a/include/chillAST/chillASTs.hh +++ b/include/chillAST/chillASTs.hh @@ -874,6 +874,7 @@ public: class chillAST_TernaryOperator : public chillAST_Node { public: + virtual int getPrec() {return INT8_MAX+15;} virtual CHILLAST_NODE_TYPE getType(){return CHILLAST_NODE_TERNARYOPERATOR;} // variables that are special for this type of node char *op; // TODO need enum so far, only "?" conditional operator @@ -955,6 +956,7 @@ public: class chillAST_BinaryOperator : public chillAST_Node { public: + virtual int getPrec(); virtual CHILLAST_NODE_TYPE getType(){return CHILLAST_NODE_BINARYOPERATOR;} // variables that are special for this type of node char *op; // TODO need enum |