From eb0e9e476d3d189ef6298d5907bd34f7cf386607 Mon Sep 17 00:00:00 2001 From: William Stein Date: Sat, 21 Oct 2006 19:35:04 -0700 Subject: [PATCH] Print "warning: " before warnings, so they look different than errors. --- Cython/Compiler/Errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2