summaryrefslogtreecommitdiffstats
path: root/macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-17 16:15:27 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-17 16:15:27 +0000
commitc6e35c35ae3f9fc589c153d500eb8d77813f2780 (patch)
treea2b2dda54e095730873ac80a13f367899739038b /macro.c
parent56f0b4a0fb2fb74f3bf1c6f8ed87ce2b716bcf52 (diff)
downloadmandoc-c6e35c35ae3f9fc589c153d500eb8d77813f2780.tar.gz
Documentation, more validations, cleaned up actions, added Nm action.
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macro.c b/macro.c
index 0b202d64..354fc258 100644
--- a/macro.c
+++ b/macro.c
@@ -577,7 +577,7 @@ macro_text(MACRO_PROT_ARGS)
return(mdoc_perr(mdoc, line, ppos, "too many arguments"));
}
- c = mdoc_elem_alloc(mdoc, line, la, tok, argc, argv);
+ c = mdoc_elem_alloc(mdoc, line, ppos, tok, argc, argv);
if (0 == c) {
mdoc_argv_free(argc, argv);
@@ -629,7 +629,7 @@ macro_text(MACRO_PROT_ARGS)
lastpunct = 1;
} else if (lastpunct) {
c = mdoc_elem_alloc(mdoc, line,
- la, tok, argc, argv);
+ ppos, tok, argc, argv);
if (0 == c) {
mdoc_argv_free(argc, argv);
return(0);
@@ -976,7 +976,7 @@ macro_constant_delimited(MACRO_PROT_ARGS)
return(0);
}
- c = mdoc_elem_alloc(mdoc, line, lastarg, tok, argc, argv);
+ c = mdoc_elem_alloc(mdoc, line, ppos, tok, argc, argv);
mdoc_argv_free(argc, argv);
if (0 == c)