summaryrefslogtreecommitdiff
path: root/compiler/cpp/src/thrift/thrifty.yy
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cpp/src/thrift/thrifty.yy')
-rw-r--r--compiler/cpp/src/thrift/thrifty.yy2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cpp/src/thrift/thrifty.yy b/compiler/cpp/src/thrift/thrifty.yy
index 82b2be57e..bb2c19e44 100644
--- a/compiler/cpp/src/thrift/thrifty.yy
+++ b/compiler/cpp/src/thrift/thrifty.yy
@@ -1301,7 +1301,7 @@ TypeAnnotationList:
{
pdebug("TypeAnnotationList -> TypeAnnotationList , TypeAnnotation");
$$ = $1;
- $$->annotations_[$2->key] = $2->val;
+ $$->annotations_[$2->key].push_back($2->val);
delete $2;
}
|