author | wenzelm |
Mon, 08 Dec 2014 11:50:04 +0100 | |
changeset 59108 | 50ccc027e8a7 |
parent 59107 | 48429ad6d0c8 |
child 59109 | 364992cd3c50 |
--- a/src/Pure/ML/ml_lex.scala Mon Dec 08 11:49:04 2014 +0100 +++ b/src/Pure/ML/ml_lex.scala Mon Dec 08 11:50:04 2014 +0100 @@ -90,8 +90,8 @@ repeated(character(Symbol.is_ascii_digit), 3, 3) private val str = - one(Symbol.is_symbolic) | one(character(c => c != '"' && c != '\\' && ' ' <= c && c <= '~')) | + one(s => Symbol.is_symbolic(s) | Symbol.is_control(s)) | "\\" ~ escape ^^ { case x ~ y => x + y }