diff options
author | David Reiss <dreiss@apache.org> | 2009-02-17 20:28:37 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2009-02-17 20:28:37 +0000 |
commit | 554ea6f936c3ad2c3317e6ba94356c65b088536f (patch) | |
tree | 35b0bd685146e7c8d35840ab2f2014fb144c0f4e /tutorial | |
parent | 32272d9bd81f3d05b2dbfd3f504b29aeb9289964 (diff) | |
download | thrift-554ea6f936c3ad2c3317e6ba94356c65b088536f.tar.gz |
Make the PHP generator use non-hardcoded namespaces.
- Make the PHP generator use program->get_namespace("php")
instead of program->get_php_namespace()
- Eliminate the explicit "php_namespace" in t_program.
- Deprecate the php_namespace token.
- Update example .thrift files and syntax files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@745241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tutorial')
-rwxr-xr-x | tutorial/tutorial.thrift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/tutorial.thrift b/tutorial/tutorial.thrift index 2655bcbca..1eb83b6a5 100755 --- a/tutorial/tutorial.thrift +++ b/tutorial/tutorial.thrift @@ -47,7 +47,7 @@ include "shared.thrift" */ namespace cpp tutorial namespace java tutorial -php_namespace tutorial +namespace php tutorial namespace perl tutorial namespace smalltalk.category Thrift.Tutorial |