src/Pure/General/symbol.scala
changeset 66919 1f93e376aeb6
parent 66051 70d3d0818d42
child 67127 cf111622c9f8
--- a/src/Pure/General/symbol.scala	Wed Oct 25 14:39:22 2017 +0200
+++ b/src/Pure/General/symbol.scala	Wed Oct 25 14:54:28 2017 +0200
@@ -60,6 +60,8 @@
     else char_symbols(c.toInt)
   }
 
+  def is_ascii(s: Symbol): Boolean = s.length == 1 && s(0) < 128
+
 
   /* symbol matching */