From c6e35c35ae3f9fc589c153d500eb8d77813f2780 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 17 Jan 2009 16:15:27 +0000 Subject: Documentation, more validations, cleaned up actions, added Nm action. --- macro.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'macro.c') 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) -- cgit