Thrift: docstring revamp step 1.
authorDavid Reiss <dreiss@apache.org>
Tue, 14 Aug 2007 17:12:31 +0000 (17:12 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 14 Aug 2007 17:12:31 +0000 (17:12 +0000)
commitcdffe260f1c8d21dbd3b6904e6ca596c7f4c6b06
treeba0b9a4ec54efdaf2fb802d3899e53949e2e135e
parentfa0c85737036e53728aab46dcda242d113f926be
Thrift: docstring revamp step 1.

Summary:
Allow constants to be documented.
Now any "Definition" can be documented, so we can move the docstring stuff
up to a a higher node in the parse tree.

Reviewed By: mcslee

Test Plan:
Recompiled thrift.
Checked out DocTest.thrift and a few other thrifts.

Revert Plan: ok

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665200 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/main.cc
compiler/cpp/src/parse/t_const.h
compiler/cpp/src/thrifty.yy
test/DocTest.thrift