diff options
author | David Reiss <dreiss@apache.org> | 2008-03-27 21:42:39 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2008-03-27 21:42:39 +0000 |
commit | 07ef3a930a8f99b41ce381f9fda3aa6785bd3956 (patch) | |
tree | 86b92faf5d3ab49a746a00486e4be38267e9d005 /tutorial/shared.thrift | |
parent | fdc21aa713ca8ddf19cd2104c4074bdd27211e05 (diff) | |
download | thrift-07ef3a930a8f99b41ce381f9fda3aa6785bd3956.tar.gz |
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
Diffstat (limited to 'tutorial/shared.thrift')
-rwxr-xr-x | tutorial/shared.thrift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/shared.thrift b/tutorial/shared.thrift index e986537ed..28de2412c 100755 --- a/tutorial/shared.thrift +++ b/tutorial/shared.thrift @@ -7,7 +7,7 @@ namespace cpp shared namespace java shared -perl_package shared +namespace perl shared struct SharedStruct { 1: i32 key |