Index: trunk/resources/data/validator/deprecated.mapcss
===================================================================
--- trunk/resources/data/validator/deprecated.mapcss	(revision 17950)
+++ trunk/resources/data/validator/deprecated.mapcss	(revision 17956)
@@ -2284,3 +2284,9 @@
 }
 
+/* #20637 */
+*[role] {
+  throwWarning: tr("{0} as a tag on an object. Roles are specified in the relation''s member lists instead.", "{0.tag}", "{0.key}");
+  assertMatch: "node role=stop";
+}
+
 /* When tags are deprecated they should be added to ignoretags.cfg too. */
