Commit 2d98b837 authored by Joey Adams's avatar Joey Adams

Small fix to read_cstring for reading \? .

parent 69cc1b45
......@@ -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);
break;
......
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment