stage1_2/iec_bison.yy
changeset 667 bd1360f29f15
parent 643 1cc0e1ca2aad
parent 627 e7caa7d32ef5
child 690 6156ee2b4e32
--- a/stage1_2/iec_bison.yy	Thu Oct 04 14:30:51 2012 +0100
+++ b/stage1_2/iec_bison.yy	Thu Oct 04 15:10:45 2012 +0100
@@ -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...
  */
@@ -5243,6 +5245,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: