diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-04-07 11:25:38 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-04-07 11:25:38 +0000 |
commit | 84656c571204bca5fbcfe0ff94a6e39739bd404b (patch) | |
tree | 36337e7317266c2466c8fabc3ae37308e7923abf /mandoc.c | |
parent | 203a7fc981fef187b30804a2cab03e1d993e9152 (diff) | |
download | mandoc-84656c571204bca5fbcfe0ff94a6e39739bd404b.tar.gz |
Add support/ignoring of \f(xy, \f[X...], \F(xy, \FX, \F[X...] roff-style font escapes (noted by Frantisek Holop).
Diffstat (limited to 'mandoc.c')
-rw-r--r-- | mandoc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -73,10 +73,6 @@ mandoc_special(const char *p) return(2); case ('e'): return(2); - case ('f'): - if ('\0' == *++p || ! isgraph((u_char)*p)) - return(0); - return(3); case ('s'): if ('\0' == *++p) return(2); @@ -152,6 +148,10 @@ mandoc_special(const char *p) } return(c); + case ('f'): + /* FALLTHROUGH */ + case ('F'): + /* FALLTHROUGH */ case ('*'): if (0 == *++p || ! isgraph((u_char)*p)) return(0); |