summaryrefslogtreecommitdiff
path: root/test/DocTest.thrift
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2007-08-14 17:12:33 +0000
committerDavid Reiss <dreiss@apache.org>2007-08-14 17:12:33 +0000
commitcbd4bacc307c0103aa07d5bbc2104e14b8a29aac (patch)
treedc310c28edd3010778afb33995a0884e4e5da651 /test/DocTest.thrift
parentcdffe260f1c8d21dbd3b6904e6ca596c7f4c6b06 (diff)
downloadthrift-cbd4bacc307c0103aa07d5bbc2104e14b8a29aac.tar.gz
Thrift: docstring revamp step 2.
Summary: It was a bad idea to let doxygen comments become a part of the parse tree. We now get them a totally different way. The lexer stashes the docsting contents in a global, and the parser actions (not the rules) pull it out. This should prevent doxygen comments from ever causing parse errors. Blame Rev: 52678, 52732 Reviewed By: mcslee Test Plan: Recompiled thrift. Thrifted a bunch of files and saw no parse errors (or C++ compile errors). Thrifted DocTest.thrift with dump_docs on. Revert Plan: ok git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665201 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/DocTest.thrift')
-rwxr-xr-xtest/DocTest.thrift11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/DocTest.thrift b/test/DocTest.thrift
index e202b0eb5..c94d426b4 100755
--- a/test/DocTest.thrift
+++ b/test/DocTest.thrift
@@ -125,17 +125,6 @@ service ThriftTest
/* So you think you've got this all worked, out eh? */
map<UserId, map<Numberz,Insanity>> testInsanity(1: Insanity argument),
- /* Multiple parameters */
-
- Xtruct testMulti(byte arg0, i32 arg1, i64 arg2, map<i16, string> arg3, Numberz arg4, UserId arg5),
-
- /* Exception specifier */
-
- void testException(string arg) throws(Xception err1),
-
- /* Multiple exceptions specifier */
-
- Xtruct testMultiException(string arg0, string arg1) throws(Xception err1, Xception2 err2)
}
/// This style of Doxy-comment doesn't work.