THRIFT-877. compiler: smalltalk namespace doesn't work
authorBryan Duxbury <bryanduxbury@apache.org>
Mon, 30 Aug 2010 17:09:58 +0000 (17:09 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Mon, 30 Aug 2010 17:09:58 +0000 (17:09 +0000)
commit4d8a9cd5693e9d6d14d4196d325be2e6917043a5
tree12756627d4634bb0c5aff1fb40e0536fe4b12d28
parent90ec5bfcd0acd9314b0c02df25802fe9e26de4e3
THRIFT-877. compiler: smalltalk namespace doesn't work

This patch adds a special case to map 'smalltalk' to 'st' when checking for valid namespace declarations.

Patch: Bruce Lowekamp

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990866 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_st_generator.cc
compiler/cpp/src/parse/t_program.h
test/ThriftTest.thrift