From 0ca234f3b667079aad3c6e7ff5d5b54bb30c572c Mon Sep 17 00:00:00 2001 From: Jens Geyer Date: Tue, 4 Jun 2013 22:01:47 +0200 Subject: [PATCH] THRIFT-1944 Deprecate slist Patch: Randy Abernethy --- compiler/cpp/src/thriftl.ll | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.17.1