Skip to content

Commit

Permalink
Updated the various Action types to have a single message rather than…
Browse files Browse the repository at this point in the history
… a collection of messages.
  • Loading branch information
vchau committed Apr 12, 2012
1 parent 5c90706 commit c8c9934
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions xocl/xoclgrammar/src/com/x/xocl/XOCL.xtext
Expand Up @@ -316,7 +316,7 @@ InformBody:

InformAction:
LBRACE {InformAction}
(messages += InformMessage)?
(message = InformMessage)?
(variants += InformVariant)*
RBRACE
;
Expand Down Expand Up @@ -370,7 +370,7 @@ NotifyBody:
NotifyAction:
{NotifyAction}
LBRACE
(messages += NotifyMessage)?
(message = NotifyMessage)?
(variants += NotifyVariant)*
RBRACE
;
Expand Down Expand Up @@ -455,7 +455,7 @@ ResponseBody:
SendAction:
{SendAction}
LBRACE
(messages += SendMessage)?
(message = SendMessage)?
(variants += SendVariant)*
RBRACE
;
Expand Down Expand Up @@ -497,10 +497,10 @@ ResponseTimeOut: RESPONSE EQUALS timeout = TimeOut;

ReceiveAction:
LBRACE {ReceiveAction}
(messages += SuccessMessage)?
(variants += SuccessVariant)*
(messages += FailureMessage)?
(variants += FailureVariant)*
(success = SuccessMessage)?
(successVariants += SuccessVariant)*
(faiure = FailureMessage)?
(failureVariants += FailureVariant)*
RBRACE
;

Expand Down

0 comments on commit c8c9934

Please sign in to comment.