added exception_position (dummy);
authorwenzelm
Thu, 04 Jun 2009 17:31:38 +0200
changeset 31428 3b32a57b044b
parent 31427 5a07cc86675d
child 31429 8a7c0899e0b1
added exception_position (dummy);
src/Pure/ML/ml_compiler.ML
--- a/src/Pure/ML/ml_compiler.ML	Thu Jun 04 17:31:38 2009 +0200
+++ b/src/Pure/ML/ml_compiler.ML	Thu Jun 04 17:31:38 2009 +0200
@@ -6,12 +6,15 @@
 
 signature ML_COMPILER =
 sig
+  val exception_position: exn -> Position.T
   val eval: bool -> Position.T -> ML_Lex.token list -> unit
 end
 
 structure ML_Compiler: ML_COMPILER =
 struct
 
+fun exception_position _ = Position.none;
+
 fun eval verbose pos toks =
   let
     val line = the_default 1 (Position.line_of pos);