Updated Branches: refs/heads/master 7cb7fc8a7 -> c317852ee
THRIFT-2003: Deprecate senum Patch: Randy Abernethy Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/c317852e Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/c317852e Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/c317852e Branch: refs/heads/master Commit: c317852eedbb84e275db841bd2428d5b571fdd41 Parents: 7cb7fc8 Author: Carl Yeksigian <[email protected]> Authored: Fri Jun 7 12:31:13 2013 -0400 Committer: Carl Yeksigian <[email protected]> Committed: Fri Jun 7 12:31:13 2013 -0400 ---------------------------------------------------------------------- compiler/cpp/src/thriftl.ll | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/c317852e/compiler/cpp/src/thriftl.ll ---------------------------------------------------------------------- diff --git a/compiler/cpp/src/thriftl.ll b/compiler/cpp/src/thriftl.ll index 958bb40..0a04840 100644 --- a/compiler/cpp/src/thriftl.ll +++ b/compiler/cpp/src/thriftl.ll @@ -147,7 +147,10 @@ literal_begin (['\"]) pwarning(0, "\"slist\" is deprecated and will be removed in a future compiler version. This type should be replaced with \"string\".\n"); return tok_slist; } -"senum" { return tok_senum; } +"senum" { + pwarning(0, "\"senum\" is deprecated and will be removed in a future compiler version. This type should be replaced with \"string\".\n"); + return tok_senum; +} "map" { return tok_map; } "list" { return tok_list; } "set" { return tok_set; }
