Convert to new interfaces so that it will compile
[mesa.git] / ast.h
diff --git a/ast.h b/ast.h
index 591655d06ccd41a147475ad2dc245a891add1c7c..1f659933e989141e93d5c67f3cd25212076fcc8c 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -159,6 +159,8 @@ public:
    ast_expression(int oper, ast_expression *,
                  ast_expression *, ast_expression *);
 
+   static const char *operator_string(enum ast_operators op);
+
    virtual void print(void) const;
 
    enum ast_operators oper;
@@ -180,6 +182,14 @@ public:
    struct simple_node expressions;
 };
 
+class ast_expression_bin : public ast_expression {
+public:
+   ast_expression_bin(int oper, ast_expression *, ast_expression *);
+
+   virtual void print(void) const;
+};
+
+
 /**
  * Number of possible operators for an ast_expression
  *