| commit | 402bd98d65f7bbdcec29ae43a1b800b1295d1d3c | [log] [tgz] |
|---|---|---|
| author | Alex Ruiz <alruiz@google.com> | Sun May 01 02:43:31 2011 +0000 |
| committer | Alex Ruiz <alruiz@google.com> | Sun May 01 02:43:31 2011 +0000 |
| tree | df00faa02c9620c48ffc417aabfd517e7dd75abe | |
| parent | 954aeb243010f2949563d710d3f833f82b9f60d0 [diff] |
Fixed: [ Issue 30 ] Services should support more than one RPC elements. https://code.google.com/p/protobuf-dt/issues/detail?id=30
diff --git a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/Protobuf.xtext b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/Protobuf.xtext index 7e8fbc7..b359efe 100644 --- a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/Protobuf.xtext +++ b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/Protobuf.xtext
@@ -132,11 +132,11 @@ Service: 'service' name=ID '{' - rpc=Rpc + rpcs+=Rpc* '}'; Rpc: - 'rpc' name=ID '(' argType=MessageReference ')' 'returns' '(' returnType=MessageReference ')' ';' + 'rpc' name=ID '(' argType=MessageReference ')' 'returns' '(' returnType=MessageReference ')' (('{' '}') | ';') ; MessageReference: