summaryrefslogtreecommitdiff
path: root/2003/i/buzz/src/automate/grammar.yy
diff options
context:
space:
mode:
Diffstat (limited to '2003/i/buzz/src/automate/grammar.yy')
-rw-r--r--2003/i/buzz/src/automate/grammar.yy2
1 files changed, 2 insertions, 0 deletions
diff --git a/2003/i/buzz/src/automate/grammar.yy b/2003/i/buzz/src/automate/grammar.yy
index 04a001e..1fd4efc 100644
--- a/2003/i/buzz/src/automate/grammar.yy
+++ b/2003/i/buzz/src/automate/grammar.yy
@@ -68,9 +68,11 @@ grafcet:
| grafcet transition { $$ = $1; $$->m_grafcet.push_back (Grafcet::Elem ($2)); }
;
+/* # represente un label ex : # 25
etape: '#' NUM { $$ = new Etape ($2); }
;
+/*met les actions ici puis defini une classe pour l'action (avec parametres)
action: PRINT STRING { $$ = new ActionPrint (*$2); delete $2; }
;