| commit | 2cef28c7a4a6e42b093bf928de49583e7d0188e0 | [log] [tgz] |
|---|---|---|
| author | Alex Ruiz <alruiz@google.com> | Sun May 08 19:31:29 2011 +0000 |
| committer | Alex Ruiz <alruiz@google.com> | Sun May 08 19:31:29 2011 +0000 |
| tree | 592f1cdbc0cdbd8748fe79f3a340d9bc0d29dc15 | |
| parent | 8e65d7c2e4218dd010bfd77bd5d01bffe86e2fc4 [diff] |
Fixed: [ Issue 35 ] Imports, options and package can appear in any order. https://code.google.com/p/protobuf-dt/issues/detail?id=35
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 b359efe..0b1c2c8 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
@@ -16,9 +16,7 @@ Protobuf: (syntax=Syntax)? - (package=Package)? - (imports+=Import)* - (options+=Option)* + ((package=Package)? & (imports+=Import)* & (options+=Option)*) (elements+=ProtobufElement)*; Syntax: