version 1.10, 2019/04/12 08:48:16 |
version 1.11, 2019/04/12 09:01:48 |
Line 216 print_text(struct format *f, const char *word, int fla |
|
Line 216 print_text(struct format *f, const char *word, int fla |
|
{ |
{ |
switch (f->linestate) { |
switch (f->linestate) { |
case LINE_NEW: |
case LINE_NEW: |
if (*word == '.' || *word == '\'') |
|
fputs("\\&", stdout); |
|
break; |
break; |
case LINE_TEXT: |
case LINE_TEXT: |
if (flags & ARG_SPACE) |
if (flags & ARG_SPACE) |
Line 227 print_text(struct format *f, const char *word, int fla |
|
Line 225 print_text(struct format *f, const char *word, int fla |
|
macro_close(f); |
macro_close(f); |
break; |
break; |
} |
} |
|
if (f->linestate == LINE_NEW && (*word == '.' || *word == '\'')) |
|
fputs("\\&", stdout); |
while (*word != '\0') { |
while (*word != '\0') { |
putchar(*word); |
putchar(*word); |
if (*word++ == '\\') |
if (*word++ == '\\') |