r1377@opsdev009 (orig r71806): mcslee | 2007-11-28 14:28:13 -0800
commit6cbae0cd56ea863ec21802b1cf3a30e5c3bf98dd
author(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Wed, 28 Nov 2007 22:29:35 +0000 (28 22:29 +0000)
committer(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Wed, 28 Nov 2007 22:29:35 +0000 (28 22:29 +0000)
tree10673a4dddea97323cf883a6edd42fe5d389cd9b
parentc18c26e6f2313f0cecf7618991ea088ddac67288
 r1377@opsdev009 (orig r71806):  mcslee | 2007-11-28 14:28:13 -0800
 Thrift compiler now enforces uniqueness of field identifiers

 Summary: The code would either not generate, or generate code with errors, if you did this beforehand. Now it's a die-fast stop hard error since this is absolultely always a wrong thing to do.

 Reviewed By: dreiss

 Test Plan: Test compiling a .thrift file with a repeated field identifier in a struct or arglist.

git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@707 41a61cd8-c433-0410-bb1c-e256eeef9e11
compiler/cpp/src/parse/t_field.h
compiler/cpp/src/parse/t_struct.h
compiler/cpp/src/thrifty.yy