version 1.5, 2011/01/03 22:42:37 |
version 1.8, 2011/03/23 12:40:04 |
|
|
#include "config.h" |
#include "config.h" |
#endif |
#endif |
|
|
#include <sys/types.h> |
|
|
|
#include <assert.h> |
#include <assert.h> |
|
|
|
#include "man.h" |
#include "mandoc.h" |
#include "mandoc.h" |
#include "libman.h" |
#include "libman.h" |
#include "libmandoc.h" |
#include "libmandoc.h" |
|
|
|
enum margserr |
int |
|
man_args(struct man *m, int line, int *pos, char *buf, char **v) |
man_args(struct man *m, int line, int *pos, char *buf, char **v) |
{ |
{ |
char *start; |
char *start; |
Line 39 man_args(struct man *m, int line, int *pos, char *buf, |
|
Line 37 man_args(struct man *m, int line, int *pos, char *buf, |
|
if ('\0' == *start) |
if ('\0' == *start) |
return(ARGS_EOLN); |
return(ARGS_EOLN); |
|
|
*v = mandoc_getarg(v, m->msg, m->data, line, pos); |
*v = mandoc_getarg(m->parse, v, line, pos); |
return('"' == *start ? ARGS_QWORD : ARGS_WORD); |
return('"' == *start ? ARGS_QWORD : ARGS_WORD); |
} |
} |