diff options
author | Jens Geyer <jensg@apache.org> | 2014-05-02 23:50:04 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2014-05-02 23:50:04 +0200 |
commit | 89847dfaa014bb17bc68ca1167d3b295c5d3a357 (patch) | |
tree | e4e980de1533aa530d0b0b2131849d7baa2044aa /test | |
parent | e52c046cb62d1f910302148f7bc2091c014acd27 (diff) | |
download | thrift-89847dfaa014bb17bc68ca1167d3b295c5d3a357.tar.gz |
THRIFT-2499 Compiler: allow annotations without "= value"
Client: compiler general
Patch: Dave Watson
This closes #87
commit 078ce57e816eeb3697acf6f2c50e09526da73d3b
Author: Dave Watson <davejwatson@fb.com>
Date: 2014-03-21T19:42:31Z
[thrift] Compiler: allow annotations without "= value"
Summary: (foo) is the same as (foo = 1), for brevity
Test: AnnotationTest.thrift still compiles
Diffstat (limited to 'test')
-rw-r--r-- | test/AnnotationTest.thrift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/AnnotationTest.thrift b/test/AnnotationTest.thrift index dac476f5f..06bf57194 100644 --- a/test/AnnotationTest.thrift +++ b/test/AnnotationTest.thrift @@ -28,6 +28,7 @@ struct foo { cpp.type = "DenseFoo", python.type = "DenseFoo", java.final = "", + annotation.without.value, ) exception foo_error { |