common-lisp.net
/
projects/qitab/cl-protobufs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8fc61f0
)
When extending, find extended message by type rather than unqualified name
author
Alejandro R Sedeño
<asedeno@google.com>
Sun, 16 Dec 2012 23:01:45 +0000 (18:01 -0500)
committer
Alejandro R Sedeño
<asedeno@google.com>
Mon, 17 Dec 2012 19:32:43 +0000 (14:32 -0500)
define-proto.lisp
patch
|
blob
|
blame
|
history
diff --git
a/define-proto.lisp
b/define-proto.lisp
index
6ac39fc
..
000ae6b
100644
(file)
--- a/
define-proto.lisp
+++ b/
define-proto.lisp
@@
-341,7
+341,7
@@
collect (make-instance 'protobuf-option
:name (if (symbolp key) (slot-name->proto key) key)
:value val)))
- (message (find-message *protobuf* name))
+ (message (find-message *protobuf* type))
(conc-name (or (conc-name-for-type type conc-name)
(and message (proto-conc-name message))))
(alias-for (and message (proto-alias-for message)))