gcc and bootstrap are in agreement!

This commit is contained in:
pommicket 2022-02-19 18:22:57 -08:00
parent 7deda52af6
commit 54a191a117
4 changed files with 133 additions and 41 deletions

View file

@ -28,6 +28,14 @@ static void output_md_text(FILE *out, int *flags, int line_number, const char *t
continue;
}
switch (*p) {
case '\\':
++p;
if (*p == '\0') {
fprintf(stderr, "line %d: Unterminated \\.\n", line_number);
exit(-1);
}
fprintf(out, "%c", *p);
break;
case '*':
if (p[1] == '*') {
/* bold */