Changes tabs found in .thy files to spaces
authorpaulson
Fri, 01 Nov 1996 15:42:40 +0100
changeset 2151 000767995143
parent 2150 084218afaf4b
child 2152 76d5ed939545
Changes tabs found in .thy files to spaces
src/Pure/Thy/thy_scan.ML
--- a/src/Pure/Thy/thy_scan.ML	Fri Nov 01 15:41:09 1996 +0100
+++ b/src/Pure/Thy/thy_scan.ML	Fri Nov 01 15:42:40 1996 +0100
@@ -75,6 +75,7 @@
       | (Some s, cs') => cons_fst ("\\" ^ s) (string cs' (inc_line n s)))
   | string (c :: cs) n = 
       if c = "\n" then string cs (n+1)
+      else if is_blank c then cons_fst " " (string cs n)
       else cons_fst c (string cs n)
   | string [] n = lex_err n "missing quote at end of string";