diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-03-16 16:45:00 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-03-20 21:32:02 -0700 |
commit | 3cfdc6d1269df5c5e198dea88a851682e9d09133 (patch) | |
tree | 2c94b9faa650ddcb79c674266be9208dbb6b05c7 /common.cpp | |
parent | 8ec73b2dd40bf95d2b665cfb4cc22c26a2717cae (diff) |
Fix line number reporting in new parser
Diffstat (limited to 'common.cpp')
-rw-r--r-- | common.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -713,6 +713,11 @@ void debug(int level, const char *msg, ...) errno = errno_old; } +void print_stderr(const wcstring &str) +{ + fprintf(stderr, "%ls\n", str.c_str()); +} + void debug_safe(int level, const char *msg, const char *param1, const char *param2, const char *param3, const char *param4, const char *param5, const char *param6, const char *param7, const char *param8, const char *param9, const char *param10, const char *param11, const char *param12) { |