summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.y b/parser.y
index c8abd205..c1cce317 100644
--- a/parser.y
+++ b/parser.y
@@ -1374,7 +1374,7 @@ strlit : '"' '"' { $$ = null_string; }
chrlit : HASH_BACKSLASH SYMTOK { wchar_t ch;
val str = string_own($2);
- const wchar_t *cstr = c_str(str);
+ const wchar_t *cstr = c_str(str, nil);
if (cstr[1] == 0)
{ ch = cstr[0]; }