From d88a689876b8ea179269b5383a029da1710b92d3 Mon Sep 17 00:00:00 2001
From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152>
Date: Tue, 28 Apr 2009 17:03:21 +0000
Subject: [PATCH] trunk preprocessor: added method VariableNode::get_symb_id()

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2643 ac1d8469-bf42-47a9-8791-bf33cf982152
---
 ExprNode.hh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ExprNode.hh b/ExprNode.hh
index 0383272a..62612bff 100644
--- a/ExprNode.hh
+++ b/ExprNode.hh
@@ -231,6 +231,7 @@ public:
   virtual double eval(const eval_context_type &eval_context) const throw (EvalException);
   virtual void compile(ofstream &CompileCode, bool lhs_rhs, ExprNodeOutputType output_type, const temporary_terms_type &temporary_terms, map_idx_type &map_idx) const;
   virtual NodeID toStatic(DataTree &static_datatree) const;
+  int get_symb_id() const { return symb_id; };
 };
 
 //! Unary operator node
-- 
GitLab