Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated the various Action types to have a single message rather than…

… a collection of messages.
  • Loading branch information...
commit c8c99349f5500a5ab96fc0ff3c36b4100267f750 1 parent 5c90706
vchau authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 xocl/xoclgrammar/src/com/x/xocl/XOCL.xtext
View
14 xocl/xoclgrammar/src/com/x/xocl/XOCL.xtext
@@ -316,7 +316,7 @@ InformBody:
InformAction:
LBRACE {InformAction}
- (messages += InformMessage)?
+ (message = InformMessage)?
(variants += InformVariant)*
RBRACE
;
@@ -370,7 +370,7 @@ NotifyBody:
NotifyAction:
{NotifyAction}
LBRACE
- (messages += NotifyMessage)?
+ (message = NotifyMessage)?
(variants += NotifyVariant)*
RBRACE
;
@@ -455,7 +455,7 @@ ResponseBody:
SendAction:
{SendAction}
LBRACE
- (messages += SendMessage)?
+ (message = SendMessage)?
(variants += SendVariant)*
RBRACE
;
@@ -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
;
Please sign in to comment.
Something went wrong with that request. Please try again.