# HG changeset patch # User wenzelm # Date 1332787320 -7200 # Node ID fb5764df8a9cb931d9101815620beddca14824a5 # Parent 500a5d97511a75812575b5644d9ad5fb8829cf36 more precise treatment of \r\n as blank symbol (cf. 2bf29095d26f), e.g. relevant for loading theory headers in Isabelle/jEdit -- NB: jEdit and Isabelle/ML normalize newline variants to \n, but Isabelle/Scala retains them literally; diff -r 500a5d97511a -r fb5764df8a9c src/Pure/General/symbol.scala --- a/src/Pure/General/symbol.scala Mon Mar 26 19:18:03 2012 +0200 +++ b/src/Pure/General/symbol.scala Mon Mar 26 20:42:00 2012 +0200 @@ -347,7 +347,7 @@ "\\<^isub>", "\\<^isup>") val blanks = - recode_set(space, "\t", "\n", "\u000B", "\f", "\r", "\\", "\\<^newline>") + recode_set(space, "\t", "\n", "\u000B", "\f", "\r", "\r\n", "\\", "\\<^newline>") val sym_chars = Set("!", "#", "$", "%", "&", "*", "+", "-", "/", "<", "=", ">", "?", "@", "^", "_", "|", "~")