THRIFT-1270. compiler: add --allow-neg-keys argument to allow
authorBryan Duxbury <bryanduxbury@apache.org>
Wed, 17 Aug 2011 23:17:04 +0000 (23:17 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Wed, 17 Aug 2011 23:17:04 +0000 (23:17 +0000)
commitc7206a40117da7d1f4a8a98ea52099825bea3b45
tree90f09dfe39f6e29d7210f15a411890c62841b7dd
parentff1c69bc1ca625a5bc0e3cb12d678f86920fc488
THRIFT-1270. compiler: add --allow-neg-keys argument to allow

This switch allows the user to specify explicit negative field IDs in Thrift IDL in order to avoid breaking wire protocol.

Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1158967 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/globals.h
compiler/cpp/src/main.cc
compiler/cpp/src/parse/t_field.h
compiler/cpp/src/thrifty.yy