@@ -125,6 +125,8 @@ char *read_cstring(array_char *out, const char *s, const char *e, char quoteChar
"Double quote characters need not be escaped within single quotes"); */
break;
}
+ if (c=='?') // \? is needed in some situations to avoid building a trigraph
+ break;
tok_msg_warn(unknown_escape, s-2,
"Unknown escape sequence '\\%c'", c);
@@ -1,6 +1,6 @@
Update that simple tokenizer compulsory test so things will compile
-
+Handle cases like escaped question marks and pound symbols that I don't understand yet.
(done) Fix #include <stdio.h> to read include directive correctly