projects
/
ghc-prim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a debugErrLn function, which is like debugLn except it prints to stderr
[ghc-prim.git]
/
cbits
/
debug.c
diff --git
a/cbits/debug.c
b/cbits/debug.c
index
ff34c5a
..
3a57098
100644
(file)
--- a/
cbits/debug.c
+++ b/
cbits/debug.c
@@
-4,3
+4,7
@@
void debugLn(char *s) {
printf("%s\n", s);
}
+
+void debugErrLn(char *s) {
+ fprintf(stderr, "%s\n", s);
+}