stage1_2/iec_bison.yy
changeset 909 8b2a31dea131
parent 894 39086e324665
child 919 8da635655f37
--- a/stage1_2/iec_bison.yy	Sun Jul 06 23:31:08 2014 +0100
+++ b/stage1_2/iec_bison.yy	Sun Jul 13 12:26:58 2014 +0100
@@ -3209,7 +3209,12 @@
 
 
 ref_spec_init: /* defined in IEC 61131-3 v3 */
-  ref_spec  /* For the moment, we do not support initialising reference data types */
+  ref_spec
+	{$$ = new ref_spec_init_c($1, NULL, locloc(@$));}
+/*  For the moment, we do not support initialising reference data types...
+| ref_spec ASSIGN ... 
+	{$$ = new ref_spec_init_c($1, $3, locloc(@$));}
+*/
 ;
 
 ref_type_decl:  /* defined in IEC 61131-3 v3 */