--- a/stage1_2/iec_bison.yy Sun Oct 09 20:18:55 2011 +0200
+++ b/stage1_2/iec_bison.yy Tue Oct 11 12:30:49 2011 +0200
@@ -1220,6 +1220,7 @@
%type <leaf> il_simple_operator_clash
%type <leaf> il_simple_operator_clash1
%type <leaf> il_simple_operator_clash2
+%type <leaf> il_simple_operator_clash3
%type <leaf> il_simple_operator_noclash
//%type <leaf> il_expr_operator
@@ -3405,6 +3406,8 @@
structured_variable:
record_variable '.' field_selector
{$$ = new structured_variable_c($1, $3, locloc(@$));}
+| record_variable '.' il_simple_operator_clash3
+ {$$ = new structured_variable_c($1, $3, locloc(@$));}
;
@@ -3412,6 +3415,8 @@
any_structured_variable:
any_record_variable '.' field_selector
{$$ = new structured_variable_c($1, $3, locloc(@$));}
+| any_record_variable '.' il_simple_operator_clash3
+ {$$ = new structured_variable_c($1, $3, locloc(@$));}
;
@@ -6825,10 +6830,29 @@
il_simple_operator_noclash:
- LD_operator
-| LDN_operator
+ LDN_operator
| ST_operator
| STN_operator
+| il_expr_operator_noclash
+;
+
+
+il_simple_operator_clash:
+ il_simple_operator_clash1
+| il_simple_operator_clash2
+| il_simple_operator_clash3
+;
+
+il_simple_operator_clash1:
+ NOT_operator
+;
+
+il_simple_operator_clash2:
+ il_expr_operator_clash
+;
+
+il_simple_operator_clash3:
+ LD_operator
| S_operator
| R_operator
| S1_operator
@@ -6839,23 +6863,7 @@
| PV_operator
| IN_operator
| PT_operator
-| il_expr_operator_noclash
-;
-
-
-il_simple_operator_clash:
- il_simple_operator_clash1
-| il_simple_operator_clash2
-;
-
-il_simple_operator_clash1:
- NOT_operator
-;
-
-il_simple_operator_clash2:
- il_expr_operator_clash
-;
-
+;
/*
il_expr_operator: