Thrift-1432: Javascript struct constants declared in the same file as their struct...
authorJake Farrell <jfarrell@apache.org>
Mon, 21 Nov 2011 13:52:51 +0000 (13:52 +0000)
committerJake Farrell <jfarrell@apache.org>
Mon, 21 Nov 2011 13:52:51 +0000 (13:52 +0000)
commita6c031ad41716173007677dda5e244d7b1314a3d
tree85ce7578ecd56e45325a016e47af8560b5e08ed1
parente34009b76cfa255e216eac79f673bd7e0798119e
Thrift-1432: Javascript struct constants declared in the same file as their struct definition will cause an error
Client: js
Patch: Mike Riley

Flips print out of constants and structs within the generator to allow for use of constants within the structs.

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