Print "warning: " before warnings, so they look different than errors.
authorWilliam Stein <wstein@gmail.com>
Sun, 22 Oct 2006 02:35:04 +0000 (19:35 -0700)
committerWilliam Stein <wstein@gmail.com>
Sun, 22 Oct 2006 02:35:04 +0000 (19:35 -0700)
Cython/Compiler/Errors.py

index 9120587add2c89cc04087f5c87f1cf51c5bed0c4..7381b0676d9449d69498f45be96dfa45399ccb35 100644 (file)
@@ -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: