Skip to content
Permalink
Browse files
fix: allow file-level options everywhere in the file
allow file-level options everywhere in the file
  • Loading branch information
JustinBeckwith committed Apr 19, 2019
2 parents 6fa4c34 + 892db94 commit b70eebd86e113effaa7d13b24b19ee4a0cb9e1e5
Showing with 3 additions and 6 deletions.
  1. +0 −4 src/parse.js
  2. +3 −2 tests/data/test.proto
@@ -714,10 +714,6 @@ function parse(source, root, options) {

case "option":

/* istanbul ignore if */
if (!head)
throw illegal(token);

parseOption(ptr, token);
skip(";");
break;
@@ -33,7 +33,6 @@
syntax = "proto2";

option java_package = "com.google.apps.jspb.proto";
option java_multiple_files = true;

import "google/protobuf/descriptor.proto";

@@ -267,4 +266,6 @@ message Deeply {
optional int32 count = 1;
}
}
}
}

option java_multiple_files = true;

0 comments on commit b70eebd

Please sign in to comment.