diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-12 16:39:57 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-12 16:39:57 +0000 |
commit | 1ffa508fd07870fb2094e48de2c5207abd02fc6c (patch) | |
tree | 5386c805f76801425f3e589242f263837395f6c2 /macro.c | |
parent | f41349a945984d15e04b7576ea08bc651631d093 (diff) | |
download | mandoc-1ffa508fd07870fb2094e48de2c5207abd02fc6c.tar.gz |
*** empty log message ***
Diffstat (limited to 'macro.c')
-rw-r--r-- | macro.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -479,7 +479,7 @@ macro_text(MACRO_PROT_ARGS) int macro_scoped(MACRO_PROT_ARGS) { - int c, lastarg, argc, j; + int c, lastarg, argc, j, fl; struct mdoc_arg argv[MDOC_LINEARG_MAX]; char *p; @@ -529,9 +529,13 @@ macro_scoped(MACRO_PROT_ARGS) return(0); mdoc->next = MDOC_NEXT_CHILD; + fl = ARGS_DELIM; + if (MDOC_TABSEP & mdoc_macros[tok].flags) + fl |= ARGS_TABSEP; + for (j = 0; j < MDOC_LINEARG_MAX; j++) { lastarg = *pos; - c = mdoc_args(mdoc, line, pos, buf, ARGS_DELIM, &p); + c = mdoc_args(mdoc, line, pos, buf, fl, &p); if (ARGS_ERROR == c) return(0); |