equal
deleted
inserted
replaced
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 |