The Higher Education and Research forge

Home My Page Projects Code Snippets Project Openings EMULSION public releases
Summary Activity Surveys SCM Listes Sympa

SCM Repository

index e486c1f..d7b3f33 100644 (file)
@@ -6,12 +6,12 @@
 //  \__\___/_/\_\\__/_/ \_\  \__, |_|  \__,_|_| |_| |_|_| |_| |_|\__,_|_|
 //                            __/ |
 //                           |___/
-//   __             ______ __  __       _       _____ _
-//  / _|           |  ____|  \/  |     | |     / ____(_)
-// | |_ ___  _ __  | |__  | \  / |_   _| |    | (___  _  ___  _ __
-// |  _/ _ \| '__| |  __| | |\/| | | | | |     \___ \| |/ _ \| '_ \
-// | || (_) | |    | |____| |  | | |_| | |____ ____) | | (_) | | | |
-// |_| \___/|_|    |______|_|  |_|\__,_|______|_____/|_|\___/|_| |_|
+//   __             ______ __  __ _    _ _       _____ _____ ____  _   _
+//  / _|           |  ____|  \/  | |  | | |     / ____|_   _/ __ \| \ | |
+// | |_ ___  _ __  | |__  | \  / | |  | | |    | (___   | || |  | |  \| |
+// |  _/ _ \| '__| |  __| | |\/| | |  | | |     \___ \  | || |  | | . ` |
+// | || (_) | |    | |____| |  | | |__| | |____ ____) |_| || |__| | |\  |
+// |_| \___/|_|    |______|_|  |_|\____/|______|_____/|_____\____/|_| \_|
 //                      _      _
 //                     | |    | |
 //  _ __ ___   ___   __| | ___| |___
@@ -307,7 +307,7 @@ StateName:
 
   // BUILTIN VS SPECIFIC ACTIONS
 ActionSpec:
-    ActionSetVar | ActionClone | IncDec | ActionBecome | ActionMessage | ActionMethod ;
+    ActionSetVar | ActionClone | ActionBecome | IncDec | ActionMessage | ActionMethod ;
 
        // INCREASE/DECREASE ACTIONS
 IncDec:
@@ -329,6 +329,11 @@ ActionClone:
     ('proba:' probas=SingleOrListValues)?)#
 ;
 
+ActionBecome:
+    (('become:' proto=SingleOrListProto)
+    ('proba:' probas=SingleOrListValues)?)#
+;
+
 SingleOrListProto:
     SingleProto | ListProto ;
 
@@ -350,9 +355,6 @@ ProtoItems:
     ('-' protos=[Prototype])
 ;
 
-ActionBecome:
-    'become:' prototype=[Prototype] ;
-
 ActionMessage:
     'message:' message=StringOrLine ;