aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-03-16 16:45:00 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-03-20 21:32:02 -0700
commit3cfdc6d1269df5c5e198dea88a851682e9d09133 (patch)
tree2c94b9faa650ddcb79c674266be9208dbb6b05c7 /common.h
parent8ec73b2dd40bf95d2b665cfb4cc22c26a2717cae (diff)
Fix line number reporting in new parser
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.h b/common.h
index b0646e4d..9b88e494 100644
--- a/common.h
+++ b/common.h
@@ -732,6 +732,9 @@ ssize_t read_loop(int fd, void *buff, size_t count);
void debug(int level, const char *msg, ...);
void debug(int level, const wchar_t *msg, ...);
+/** Writes a string to stderr, followed by a newline */
+void print_stderr(const wcstring &str);
+
/**
Replace special characters with backslash escape sequences. Newline is
replaced with \n, etc.