diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-04-02 06:51:44 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-04-02 06:51:44 +0000 |
commit | 8a03dc6dd4f8c96b6231d1f60da2bd65f437a8b4 (patch) | |
tree | 121b76378b915aba7ec64f61d34338b21358fd46 /mdoc_macro.c | |
parent | e487e44b52bbc7bfdb77346cc9a44d1a7c825d2c (diff) | |
download | mandoc-8a03dc6dd4f8c96b6231d1f60da2bd65f437a8b4.tar.gz |
mdoc_tokhash -> hash
Initial man hashtab (BROKEN).
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r-- | mdoc_macro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c index e2aacaab..4e4a799d 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -328,7 +328,7 @@ lookup(struct mdoc *mdoc, int line, int pos, int from, const char *p) { int res; - res = mdoc_tokhash_find(mdoc->htab, p); + res = mdoc_hash_find(mdoc->htab, p); if (MDOC_PARSED & mdoc_macros[from].flags) return(res); if (MDOC_MAX == res) @@ -1473,7 +1473,7 @@ phrase(struct mdoc *mdoc, int line, int ppos, char *buf) */ c = quoted ? MDOC_MAX : - mdoc_tokhash_find(mdoc->htab, &buf[la]); + mdoc_hash_find(mdoc->htab, &buf[la]); if (MDOC_MAX != c) { if ( ! mdoc_macro(mdoc, c, line, la, &i, buf)) |