do not control malformed symbols;
authorwenzelm
Sat, 18 Jun 2011 18:57:38 +0200
changeset 43447 0ef3ec385b2b
parent 43446 9064e1a72c5d
child 43448 90aec5043461
do not control malformed symbols;
src/Pure/General/symbol.scala
--- a/src/Pure/General/symbol.scala	Sat Jun 18 18:31:55 2011 +0200
+++ b/src/Pure/General/symbol.scala	Sat Jun 18 18:57:38 2011 +0200
@@ -327,6 +327,6 @@
     def is_symbolic(sym: String): Boolean =
       sym.startsWith("\\<") && sym.endsWith(">") && !sym.startsWith("\\<^")
     def is_controllable(sym: String): Boolean =
-      !is_blank(sym) && !sym.startsWith("\\<^")
+      !is_blank(sym) && !sym.startsWith("\\<^") && !is_malformed(sym)
   }
 }