diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-02 17:14:46 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-02 17:14:46 +0000 |
commit | f57412d689f445d6786167aac98dfde81c90ea12 (patch) | |
tree | 412635fca540b14d5139e91a039f78f70a7cf3d8 /strings.c | |
parent | aaee43f80d524f98453fc13d60a657085867666f (diff) | |
download | mandoc-f57412d689f445d6786167aac98dfde81c90ea12.tar.gz |
Added new old escape sequence \*[nn].
Initial correct .Bd support (still only text in literal displays).
Symbols put into tables (character-encoding).
Diffstat (limited to 'strings.c')
-rw-r--r-- | strings.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -69,6 +69,11 @@ mdoc_isescape(const char *p) if (0 == *++p || ! isgraph((int)*p)) return(0); return(4); + case ('['): + for (c = 3, p++; *p && ']' != *p; p++, c++) + if ( ! isgraph((int)*p)) + break; + return(*p == ']' ? c : 0); default: break; } |