From: Carl Yeksigian Date: Fri, 7 Jun 2013 16:31:13 +0000 (-0400) Subject: THRIFT-2003: Deprecate senum X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=c317852eedbb84e275db841bd2428d5b571fdd41;p=common%2Fthrift.git THRIFT-2003: Deprecate senum Patch: Randy Abernethy --- diff --git a/compiler/cpp/src/thriftl.ll b/compiler/cpp/src/thriftl.ll index 958bb406..0a048406 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; }