Make the Smalltalk generator use non-hardcoded namespaces.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:40:46 +0000 (21:40 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:40:46 +0000 (21:40 +0000)
commit3b45501b5220ac2e8ab159c6cd8163467300f406
tree84ada6fcf29f195e6fbdcc4654fcde4d4a236f70
parentb3ac8a6c7278b26a207d7847211b61b98e84c54d
Make the Smalltalk generator use non-hardcoded namespaces.

- Make the Smalltalk generator use program->get_namespace("smalltalk.*")
  instead of program->get_smalltalk_{category|prefix}()
- Eliminate the explicit "smalltalk_{category|prefix}" in t_program.
- Deprecate the smalltalk_{category|prefix} tokens.
- Update example .thrift files and syntax files.

This was a little more complex than the others.  We now convert "." to "-"
in Smalltalk categories, because we no longer lex them as tok_st_identifier.

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