version 1.34, 2009/03/08 12:40:27 |
version 1.38, 2009/03/09 13:17:49 |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <string.h> |
#include <string.h> |
#include <time.h> |
|
|
|
#include "private.h" |
#include "private.h" |
|
|
Line 171 const struct actions mdoc_actions[MDOC_MAX] = { |
|
Line 170 const struct actions mdoc_actions[MDOC_MAX] = { |
|
{ NULL }, /* Fr */ |
{ NULL }, /* Fr */ |
{ NULL }, /* Ud */ |
{ NULL }, /* Ud */ |
{ NULL }, /* Lb */ |
{ NULL }, /* Lb */ |
|
{ NULL }, /* Ap */ |
|
{ NULL }, /* Lp */ |
}; |
}; |
|
|
|
|
Line 241 post_ex(struct mdoc *mdoc) |
|
Line 242 post_ex(struct mdoc *mdoc) |
|
mdoc_argnames[MDOC_Std], |
mdoc_argnames[MDOC_Std], |
mdoc->meta.name); |
mdoc->meta.name); |
|
|
assert(1 == mdoc->last->args->argv[0].sz); |
|
|
|
mdoc->last->args->argv[0].sz = 1; |
|
mdoc->last->args->argv[0].value = xcalloc(1, sizeof(char *)); |
mdoc->last->args->argv[0].value = xcalloc(1, sizeof(char *)); |
|
mdoc->last->args->argv[0].sz = 1; |
mdoc->last->args->argv[0].value[0] = xstrdup(mdoc->meta.name); |
mdoc->last->args->argv[0].value[0] = xstrdup(mdoc->meta.name); |
return(1); |
return(1); |
} |
} |