gcc and bootstrap are in agreement!
This commit is contained in:
parent
7deda52af6
commit
54a191a117
4 changed files with 133 additions and 41 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue