Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
cde23df
)
THRIFT-1944 Deprecate slist
author
Jens Geyer
<jensg@apache.org>
Tue, 4 Jun 2013 20:01:47 +0000
(22:01 +0200)
committer
Jens Geyer
<jensg@apache.org>
Tue, 4 Jun 2013 20:01:47 +0000
(22:01 +0200)
Patch: Randy Abernethy
compiler/cpp/src/thriftl.ll
patch
|
blob
|
history
diff --git
a/compiler/cpp/src/thriftl.ll
b/compiler/cpp/src/thriftl.ll
index
fda6b33
..
958bb40
100644
(file)
--- 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; }