Infrastructure for a language-neutral namespace declaration.
authorDavid Reiss <dreiss@apache.org>
Wed, 27 Feb 2008 01:55:13 +0000 (01:55 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 27 Feb 2008 01:55:13 +0000 (01:55 +0000)
commit79eca14125c391c6011f4ffb14bfea898bc6c2f9
tree9fab646ead11d6603575dcd52f953fdd7f47edd4
parentdc61be96505383f8832da53ca41a6d13b15bcd5c
Infrastructure for a language-neutral namespace declaration.

Altered the once-deprecated "namespace" directive in .thrift files
to take two identifiers: the language and the namespace.
They are stored in a map inside of the program object.
Future changes will convert specific generators to use this map
and deprecate the old language-specific tokens.

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