Position.start;
authorwenzelm
Thu, 07 Aug 2008 19:21:37 +0200
changeset 27775 a9d16f8b997a
parent 27774 51c7b1baaf35
child 27776 644e03cb568d
Position.start;
src/HOL/Import/import_syntax.ML
--- a/src/HOL/Import/import_syntax.ML	Thu Aug 07 13:45:15 2008 +0200
+++ b/src/HOL/Import/import_syntax.ML	Thu Aug 07 19:21:37 2008 +0200
@@ -160,7 +160,7 @@
 	val lexes = ref (Scan.make_lexicon (map Symbol.explode ["import_segment","ignore_thms","import","end",">","::","const_maps","const_moves","thm_maps","const_renames","type_maps","def_maps"]),
 			 Scan.empty_lexicon)
 	val get_lexes = fn () => !lexes
-	val token_source = OuterLex.source NONE get_lexes (Position.line 1) symb_source
+	val token_source = OuterLex.source NONE get_lexes Position.start symb_source
 	val token_list = filter_out (OuterLex.is_kind OuterLex.Space) (Source.exhaust token_source)
 	val import_segmentP = OuterParse.$$$ "import_segment" |-- import_segment
 	val type_mapsP = OuterParse.$$$ "type_maps" |-- type_maps