absyntax/absyntax.hh
changeset 889 5f380b99e95e
parent 775 0422ee273152
child 913 1c74da17cb61
--- a/absyntax/absyntax.hh	Fri Apr 04 16:21:55 2014 +0100
+++ b/absyntax/absyntax.hh	Tue Apr 08 14:35:31 2014 +0100
@@ -131,6 +131,10 @@
      * Otherwise, it points to an object of the apropriate data type (e.g. int_type_name_c, bool_type_name_c, ...)
      */
     symbol_c *datatype;
+    /* The POU in which the symbolic variable (or structured variable, or array variable, or located variable, - any more?)
+     * was declared. This will point to a Configuration, Resource, Program, FB, or Function.
+     */
+    symbol_c *scope;    
 
     /*** constant folding ***/
     /* During stage 3 (semantic analysis/checking) we will be doing constant folding.