/[Apache-SVN]
ViewVC logotype

Revision 665675


Jump to revision: Previous Next
Author: dreiss
Date: Thu May 1 05:52:50 2008 UTC (16 years, 6 months ago)
Changed paths: 11
Log Message:
Properly handle constants of typedef'ed types.

Also throw an error in the compiler if we cannot generate a constant for a
declared const because of its type.  Added a test of this functionality in
ConstantsDemo.thrift.


Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_cocoa_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_csharp_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_erl_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_hs_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_ocaml_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_py_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_rb_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_st_generator.cc modified , text changed
Directoryincubator/thrift/trunk/test/ConstantsDemo.thrift modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26