Index: /trunk/resources/data/validator/deprecated.mapcss
===================================================================
--- /trunk/resources/data/validator/deprecated.mapcss	(revision 17955)
+++ /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. */
Index: /trunk/resources/data/validator/ignoretags.cfg
===================================================================
--- /trunk/resources/data/validator/ignoretags.cfg	(revision 17955)
+++ /trunk/resources/data/validator/ignoretags.cfg	(revision 17956)
@@ -696,4 +696,5 @@
 E:building:roof:shape
 K:landuse=school
+E:role
 ;
 ; Tags not yet decided (to remove from this section when added or moved up when deprecated) 
