--- trunk/src/compiler/common/error.sml 2013/04/07 11:35:08 2355 +++ trunk/src/compiler/common/error.sml 2013/04/07 14:45:25 2356 @@ -18,6 +18,7 @@ val mkErrStream : string -> err_stream val anyErrors : err_stream -> bool + val anyWarnings : err_stream -> bool val sourceFile : err_stream -> string val sourceMap : err_stream -> AntlrStreamPos.sourcemap @@ -90,6 +91,7 @@ } fun anyErrors (ES{numErrors, ...}) = (!numErrors > 0) + fun anyWarnings (ES{numWarnings, ...}) = (!numWarnings > 0) fun sourceFile (ES{srcFile, ...}) = srcFile fun sourceMap (ES{sm, ...}) = sm
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: Warnings > 0) fun sourceFile (ES{srcFile, ...}) = srcFile fun sourceMap (ES{sm, ...}) = sm