diff -r 9e8e1ba5ca46 -r 8b2a31dea131 stage1_2/iec_bison.yy --- 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 */