From af617f24c5f2f2cab357ace9d822c6948c7e487f Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 31 Aug 2022 11:23:14 +0200 Subject: get close to self hosting (ack works) --- bootstrap/cgen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bootstrap') 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 -- cgit v1.2.3