version 1.35, 2015/10/17 00:21:07 |
version 1.38, 2017/01/10 12:53:08 |
|
|
/* $OpenBSD$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 93 struct roff_node { |
|
Line 93 struct roff_node { |
|
char *string; /* TEXT */ |
char *string; /* TEXT */ |
const struct tbl_span *span; /* TBL */ |
const struct tbl_span *span; /* TBL */ |
const struct eqn *eqn; /* EQN */ |
const struct eqn *eqn; /* EQN */ |
int nchild; /* Number of child nodes. */ |
|
int line; /* Input file line number. */ |
int line; /* Input file line number. */ |
int pos; /* Input file column number. */ |
int pos; /* Input file column number. */ |
int tok; /* Request or macro ID. */ |
int tok; /* Request or macro ID. */ |
Line 110 struct roff_node { |
|
Line 109 struct roff_node { |
|
#define MAN_VALID MDOC_VALID |
#define MAN_VALID MDOC_VALID |
#define MAN_EOS MDOC_EOS |
#define MAN_EOS MDOC_EOS |
#define MAN_LINE MDOC_LINE |
#define MAN_LINE MDOC_LINE |
|
#define NODE_NOSRC (1 << 8) /* Generated node, not in input file. */ |
|
#define NODE_NOPRT (1 << 9) /* Shall not print anything. */ |
int prev_font; /* Before entering this node. */ |
int prev_font; /* Before entering this node. */ |
int aux; /* Decoded node data, type-dependent. */ |
int aux; /* Decoded node data, type-dependent. */ |
enum roff_type type; /* AST node type. */ |
enum roff_type type; /* AST node type. */ |
Line 161 struct roff_man { |
|
Line 162 struct roff_man { |
|
enum roff_next next; /* Where to put the next node. */ |
enum roff_next next; /* Where to put the next node. */ |
}; |
}; |
|
|
__BEGIN_DECLS |
|
|
|
void deroff(char **, const struct roff_node *); |
void deroff(char **, const struct roff_node *); |
|
|
__END_DECLS |
|