version 1.14, 2009/01/16 11:50:54 |
version 1.16, 2009/01/17 20:10:36 |
|
|
#include "private.h" |
#include "private.h" |
|
|
|
|
|
/* FIXME: .It called with -column and quoted arguments. */ |
|
|
static int lookup(int, const char *); |
static int lookup(int, const char *); |
static int parse(struct mdoc *, int, int, |
static int parse(struct mdoc *, int, |
struct mdoc_arg *, int *, char *); |
struct mdoc_arg *, int *, char *); |
static int parse_single(struct mdoc *, int, |
static int parse_single(struct mdoc *, int, |
struct mdoc_arg *, int *, char *); |
struct mdoc_arg *, int *, char *); |
Line 402 parse_single(struct mdoc *mdoc, int line, |
|
Line 404 parse_single(struct mdoc *mdoc, int line, |
|
|
|
|
|
static int |
static int |
parse(struct mdoc *mdoc, int line, int tok, |
parse(struct mdoc *mdoc, int line, |
struct mdoc_arg *v, int *pos, char *buf) |
struct mdoc_arg *v, int *pos, char *buf) |
{ |
{ |
|
|
Line 467 mdoc_argv(struct mdoc *mdoc, int line, int tok, |
|
Line 469 mdoc_argv(struct mdoc *mdoc, int line, int tok, |
|
/* FIXME: whitespace if no value. */ |
/* FIXME: whitespace if no value. */ |
|
|
ppos = *pos; |
ppos = *pos; |
if ( ! parse(mdoc, line, tok, v, pos, buf)) |
if ( ! parse(mdoc, line, v, pos, buf)) |
return(ARGV_ERROR); |
return(ARGV_ERROR); |
if ( ! postparse(mdoc, line, v, ppos)) |
if ( ! postparse(mdoc, line, v, ppos)) |
return(ARGV_ERROR); |
return(ARGV_ERROR); |