src/Pure/sign.ML
changeset 1580 e3fd931e6095
parent 1576 af8f43f742a0
child 1810 0eef167ebe1b
equal deleted inserted replaced
1579:688e18023915 1580:e3fd931e6095
   313     val ct = const_type sg;
   313     val ct = const_type sg;
   314 
   314 
   315     fun warn() =
   315     fun warn() =
   316       if length ts > 1 andalso length ts <= !Syntax.ambiguity_level
   316       if length ts > 1 andalso length ts <= !Syntax.ambiguity_level
   317       then (*no warning shown yet*)
   317       then (*no warning shown yet*)
   318            writeln "Warning: Currently parsed input \
   318            warning "Currently parsed input \
   319                    \produces more than one parse tree.\n\
   319                    \produces more than one parse tree.\n\
   320                    \For more information lower Syntax.ambiguity_level."
   320                    \For more information lower Syntax.ambiguity_level."
   321       else ();
   321       else ();
   322 
   322 
   323     datatype result = One of int * term * (indexname * typ) list
   323     datatype result = One of int * term * (indexname * typ) list