summaryrefslogtreecommitdiffstats
path: root/macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-07 15:57:14 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-07 15:57:14 +0000
commitf0046239049623a3d7e442ee672ae6bb28674e76 (patch)
tree4d2b487d3736651c727137ee9c81e5d977636c0b /macro.c
parenta7a1dadb16951c8d91f80da5763dd5c3cb973ffa (diff)
downloadmandoc-f0046239049623a3d7e442ee672ae6bb28674e76.tar.gz
Added line numbering.
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/macro.c b/macro.c
index c419874f..027a4b88 100644
--- a/macro.c
+++ b/macro.c
@@ -314,7 +314,7 @@ macro_close_explicit(MACRO_PROT_ARGS)
return(0);
flushed = 1;
}
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
break;
}
@@ -405,7 +405,7 @@ macro_text(MACRO_PROT_ARGS)
return(0);
}
mdoc_argv_free(argc, argv);
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
if (ppos > 1)
return(1);
@@ -504,7 +504,7 @@ macro_scoped(MACRO_PROT_ARGS)
continue;
}
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
break;
}
@@ -565,7 +565,7 @@ macro_scoped_line(MACRO_PROT_ARGS)
continue;
}
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
break;
}
@@ -645,7 +645,7 @@ macro_constant_scoped(MACRO_PROT_ARGS)
mdoc_body_alloc(mdoc, ppos, tok);
mdoc->next = MDOC_NEXT_CHILD;
}
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
break;
}
@@ -751,7 +751,7 @@ macro_constant_delimited(MACRO_PROT_ARGS)
if ( ! flushed && ! rewind_elem(mdoc, ppos, tok))
return(0);
flushed = 1;
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
break;
}