commit | b50f20251e895da74bae9f1d128742e26a4b725d | [log] [tgz] |
---|---|---|
author | Alex Ruiz <alruiz@google.com> | Tue Sep 20 23:47:22 2011 -0700 |
committer | Alex Ruiz <alruiz@google.com> | Tue Sep 20 23:47:22 2011 -0700 |
tree | 8c69678762adda369a0957e8983dd45fdac0dcf9 | |
parent | 31200b4f9464fd3d89380bc5800a5f41aaac03fc [diff] |
In progress: [Issue 125] Support for custom options. Fixed scoping of local custom options.
diff --git a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/scoping/OptionDescriptions.java b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/scoping/OptionDescriptions.java index 89d219d..164dacf 100644 --- a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/scoping/OptionDescriptions.java +++ b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/scoping/OptionDescriptions.java
@@ -66,9 +66,9 @@ List<QualifiedName> names = localNamesProvider.namesOf(e); int nameCount = names.size(); for (int i = level; i < nameCount; i++) { - descriptions.add(create(names.get(i), element)); + descriptions.add(create(names.get(i), e)); } - descriptions.addAll(fullyQualifiedNamesOf(element)); + descriptions.addAll(fullyQualifiedNamesOf(e)); } continue; }