THRIFT-868. Make const values work properly with typdefs
authorDavid Reiss <dreiss@apache.org>
Tue, 5 Oct 2010 16:39:29 +0000 (16:39 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 5 Oct 2010 16:39:29 +0000 (16:39 +0000)
commit41d3058dbf45d3e771192052f1f15ba1b6daf5d3
tree9431866345872172f9410dfd775d0fc47eb3791c
parent9e7ba8cbacd5d09eb2af4c76eb82f7df5e0b8739
THRIFT-868. Make const values work properly with typdefs

Just requires calling get_true_type in the right spot.  Because "the
right spot" is under src/parse, get_true_type had to be moed from
t_generator to t_type.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1004703 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_generator.h
compiler/cpp/src/parse/parse.cc
compiler/cpp/src/parse/t_scope.h
compiler/cpp/src/parse/t_type.h