From c317852eedbb84e275db841bd2428d5b571fdd41 Mon Sep 17 00:00:00 2001 From: Carl Yeksigian Date: Fri, 7 Jun 2013 12:31:13 -0400 Subject: [PATCH] THRIFT-2003: Deprecate senum 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 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; } -- 2.17.1