aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/cgen.c')
-rw-r--r--bootstrap/cgen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap/cgen.c b/bootstrap/cgen.c
index 7db84ea..ee88280 100644
--- a/bootstrap/cgen.c
+++ b/bootstrap/cgen.c
@@ -54,6 +54,8 @@ pristring(const char *s, u64 n) {
pri("\\\"");
else if (s[i] == '\\')
pri("\\\\");
+ else if (s[i] == '?')
+ pri("\\?");
else if (isprint(s[i]))
pri("%c", s[i]);
else