diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-17 16:15:27 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-17 16:15:27 +0000 |
commit | c6e35c35ae3f9fc589c153d500eb8d77813f2780 (patch) | |
tree | a2b2dda54e095730873ac80a13f367899739038b /macro.c | |
parent | 56f0b4a0fb2fb74f3bf1c6f8ed87ce2b716bcf52 (diff) | |
download | mandoc-c6e35c35ae3f9fc589c153d500eb8d77813f2780.tar.gz |
Documentation, more validations, cleaned up actions, added Nm action.
Diffstat (limited to 'macro.c')
-rw-r--r-- | macro.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |