From: Jens Geyer Date: Tue, 4 Jun 2013 20:01:47 +0000 (+0200) Subject: THRIFT-1944 Deprecate slist X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=0ca234f3b667079aad3c6e7ff5d5b54bb30c572c;p=common%2Fthrift.git THRIFT-1944 Deprecate slist Patch: Randy Abernethy --- diff --git a/compiler/cpp/src/thriftl.ll b/compiler/cpp/src/thriftl.ll index fda6b331..958bb406 100644 --- a/compiler/cpp/src/thriftl.ll +++ b/compiler/cpp/src/thriftl.ll @@ -143,7 +143,10 @@ literal_begin (['\"]) "double" { return tok_double; } "string" { return tok_string; } "binary" { return tok_binary; } -"slist" { return tok_slist; } +"slist" { + 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; } "map" { return tok_map; } "list" { return tok_list; }