From: William Stein Date: Sun, 22 Oct 2006 02:35:04 +0000 (-0700) Subject: Print "warning: " before warnings, so they look different than errors. X-Git-Tag: 0.9.6.14~29^2~225 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eb0e9e476d3d189ef6298d5907bd34f7cf386607;p=cython.git Print "warning: " before warnings, so they look different than errors. --- diff --git a/Cython/Compiler/Errors.py b/Cython/Compiler/Errors.py index 9120587a..7381b067 100644 --- a/Cython/Compiler/Errors.py +++ b/Cython/Compiler/Errors.py @@ -81,7 +81,7 @@ def error(position, message): def warning(position, message): warn = CompileWarning(position, message) - line = "%s\n" % warn + line = "warning: %s\n" % warn if listing_file: listing_file.write(line) if echo_file: