/[Apache-SVN]
ViewVC logotype

Revision 919325


Jump to revision: Previous Next
Author: dreiss
Date: Fri Mar 5 07:51:51 2010 UTC (14 years, 8 months ago)
Changed paths: 3
Log Message:
THRIFT-564. Support arbitrary annotations on struct fields

This is subtly different from a type annotation, since some bits of
metadata only make sense in the context of a single structure field,
like whether the field is required, or whether the C++ code should use
a pointer for it.

This change doesn't define any meaningful annotations.  It just sets up
the parsing infrastructure.

I have no idea if $10 will work with older versions of yacc.  It seems
to work fine with bison.

Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/parse/t_field.h modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/thrifty.yy modified , text changed
Directoryincubator/thrift/trunk/test/AnnotationTest.thrift modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26