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 | a2320c4fc025a6262bc6cfa6e420d85fe8d60bd6 (patch) | |
tree | b2c089949ddd571f223c3377bcf2f559195f2d88 /macro.c | |
parent | 3ef2ed38138f74f57e8bac7be877cd7f644c6fa5 (diff) | |
download | mandoc-a2320c4fc025a6262bc6cfa6e420d85fe8d60bd6.tar.gz mandoc-a2320c4fc025a6262bc6cfa6e420d85fe8d60bd6.tar.zst mandoc-a2320c4fc025a6262bc6cfa6e420d85fe8d60bd6.zip |
Documentation, more validations, cleaned up actions, added Nm action.
Diffstat (limited to 'macro.c')
-rw-r--r-- | macro.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $Id: macro.c,v 1.39 2009/01/16 14:04:26 kristaps Exp $ */ +/* $Id: macro.c,v 1.40 2009/01/17 16:15:27 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -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) |