Make the Perl generator use non-hardcoded namespaces.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:42:39 +0000 (21:42 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:42:39 +0000 (21:42 +0000)
commit07ef3a930a8f99b41ce381f9fda3aa6785bd3956
tree86b92faf5d3ab49a746a00486e4be38267e9d005
parentfdc21aa713ca8ddf19cd2104c4074bdd27211e05
Make the Perl generator use non-hardcoded namespaces.

- Make the Perl generator use program->get_namespace("perl")
  instead of program->get_perl_package()
- Eliminate the explicit "perl_package" in t_program.
- Deprecate the perl_package token.
- Update example .thrift files and syntax files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665624 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_perl_generator.cc
compiler/cpp/src/parse/t_program.h
compiler/cpp/src/thrifty.yy
test/ThriftTest.thrift
thrift.el
thrift.vim
tutorial/shared.thrift
tutorial/tutorial.thrift