Thrift: Allow whole program doctext.
authorDavid Reiss <dreiss@apache.org>
Mon, 30 Jul 2007 23:46:11 +0000 (23:46 +0000)
committerDavid Reiss <dreiss@apache.org>
Mon, 30 Jul 2007 23:46:11 +0000 (23:46 +0000)
commitc2532a9ac4168778c581cff235943eb270df6dbc
tree777a9eb163e7d4aca880a803e86a404ce995f55f
parent1ac05803788fb15bcf16e48cdd53b550b3bc5515
Thrift: Allow whole program doctext.

Summary:
Allow docstrings at the top of the program.

Blame Rev: 52687

Reviewed By: mcslee

Test Plan:
../compiler/cpp/thrift -cpp DocTest.thrift
(with dump_docs on)
and looked at the output.
Generated C++ is identical to installed thrift.

Revert Plan: Do 52687 also.

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