version 1.2, 2014/03/20 15:15:32 |
version 1.3, 2014/03/20 15:18:56 |
Line 263 formatcode(const char *buf, size_t *start, |
|
Line 263 formatcode(const char *buf, size_t *start, |
|
formatcode(buf, start, end, 1, last, nomacro); |
formatcode(buf, start, end, 1, last, nomacro); |
continue; |
continue; |
} |
} |
if ('\n' != buf[*start]) { |
|
/* |
/* |
* Make sure that any macro-like words (or |
* Make sure that any macro-like words (or |
* really any word starting with a capital |
* really any word starting with a capital |
Line 274 formatcode(const char *buf, size_t *start, |
|
Line 274 formatcode(const char *buf, size_t *start, |
|
if ((' ' == last || '\n' == last) && |
if ((' ' == last || '\n' == last) && |
isupper(buf[*start])) |
isupper(buf[*start])) |
printf("\\&"); |
printf("\\&"); |
putchar(last = buf[*start]); |
|
} |
last = buf[*start]; |
|
if ('\n' == last) |
|
last = ' '; |
|
putchar(last); |
|
|
(*start)++; |
(*start)++; |
} |
} |
|
|