Thrift compiler frontend support for constants
authorMark Slee <mcslee@apache.org>
Tue, 28 Nov 2006 01:24:07 +0000 (01:24 +0000)
committerMark Slee <mcslee@apache.org>
Tue, 28 Nov 2006 01:24:07 +0000 (01:24 +0000)
commit301528702cb311d0bd10f7ebfc6bb63f4a9dc8bb
tree9a2d69387c0bb884a30f3d48b248997a0f056bea
parentd3bc1a5f528a2b56b162a135bae66139a562ff1e
Thrift compiler frontend support for constants

Summary: The parser now accepts constants and adds them into the parse tree

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664880 13f79535-47bb-0310-9956-ffa450edef68
12 files changed:
compiler/cpp/src/generate/t_cpp_generator.cc
compiler/cpp/src/generate/t_java_generator.cc
compiler/cpp/src/generate/t_php_generator.cc
compiler/cpp/src/generate/t_py_generator.cc
compiler/cpp/src/main.cc
compiler/cpp/src/main.h
compiler/cpp/src/parse/t_const.h [new file with mode: 0644]
compiler/cpp/src/parse/t_enum.h
compiler/cpp/src/parse/t_enum_value.h [moved from compiler/cpp/src/parse/t_constant.h with 78% similarity]
compiler/cpp/src/parse/t_program.h
compiler/cpp/src/thrift.l
compiler/cpp/src/thrift.y