stage1_2/iec_bison.yy
changeset 627 e7caa7d32ef5
parent 616 0c7663fdc8d3
child 667 bd1360f29f15
--- a/stage1_2/iec_bison.yy	Sat Sep 01 16:27:24 2012 +0200
+++ b/stage1_2/iec_bison.yy	Tue Sep 04 18:02:06 2012 +0200
@@ -1020,6 +1020,8 @@
 
 %token N
 %token P
+%token P0
+%token P1
 /* NOTE: the following two clash with the R and S IL operators.
  * It will have to be handled when we include parsing of SFC...
  */
@@ -5255,6 +5257,8 @@
 | R		{$$ = new qualifier_c(strdup("R"), locloc(@$));}
 | S		{$$ = new qualifier_c(strdup("S"), locloc(@$));}
 | P		{$$ = new qualifier_c(strdup("P"), locloc(@$));}
+| P0	{$$ = new qualifier_c(strdup("P0"), locloc(@$));}
+| P1	{$$ = new qualifier_c(strdup("P1"), locloc(@$));}
 ;
 
 timed_qualifier: