stage1_2/iec_bison.yy
changeset 936 0f7bcc160568
parent 934 2a42a68f4b59
child 945 477393b00f95
--- a/stage1_2/iec_bison.yy	Sun Sep 28 17:48:42 2014 +0100
+++ b/stage1_2/iec_bison.yy	Sun Oct 19 08:36:49 2014 +0100
@@ -3406,7 +3406,7 @@
 */
 | symbolic_variable '^'     
 	/* Dereferencing operator defined in IEC 61131-3 v3. However, implemented here differently then how it is defined in the standard! See following note for explanation! */
-	{$$ = new deref_expression_c($1, locloc(@$));
+	{$$ = new deref_operator_c($1, locloc(@$));
 	 if (!allow_ref_dereferencing) {
 	   print_err_msg(locf(@$), locl(@$), "Derefencing REF_TO datatypes with '^' is not allowed (use -r option to activate support for this IEC 61131-3 v3 feature)."); 
 	   yynerrs++;