projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a686fdc
)
Print "warning: " before warnings, so they look different than errors.
author
William Stein
<wstein@gmail.com>
Sun, 22 Oct 2006 02:35:04 +0000
(19:35 -0700)
committer
William Stein
<wstein@gmail.com>
Sun, 22 Oct 2006 02:35:04 +0000
(19:35 -0700)
Cython/Compiler/Errors.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Errors.py
b/Cython/Compiler/Errors.py
index 9120587add2c89cc04087f5c87f1cf51c5bed0c4..7381b0676d9449d69498f45be96dfa45399ccb35 100644
(file)
--- 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: