version 1.98, 2010/07/02 12:54:33 |
version 1.101, 2010/07/13 23:53:20 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* 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 279 enum mdoc_disp { |
|
Line 279 enum mdoc_disp { |
|
DISP_literal |
DISP_literal |
}; |
}; |
|
|
|
enum mdoc_auth { |
|
AUTH__NONE = 0, |
|
AUTH_split, |
|
AUTH_nosplit |
|
}; |
|
|
enum mdoc_font { |
enum mdoc_font { |
FONT__NONE = 0, |
FONT__NONE = 0, |
FONT_Em, |
FONT_Em, |
Line 297 struct mdoc_bl { |
|
Line 303 struct mdoc_bl { |
|
const char *offs; /* -offset */ |
const char *offs; /* -offset */ |
enum mdoc_list type; /* -tag, -enum, etc. */ |
enum mdoc_list type; /* -tag, -enum, etc. */ |
int comp; /* -compact */ |
int comp; /* -compact */ |
|
size_t ncols; /* -column arg count */ |
|
const char **cols; /* -column val ptr */ |
}; |
}; |
|
|
struct mdoc_bf { |
struct mdoc_bf { |
enum mdoc_font font; /* font */ |
enum mdoc_font font; /* font */ |
}; |
}; |
|
|
|
struct mdoc_an { |
|
enum mdoc_auth auth; /* -split, etc. */ |
|
}; |
|
|
/* Node in AST. */ |
/* Node in AST. */ |
struct mdoc_node { |
struct mdoc_node { |
struct mdoc_node *parent; /* parent AST node */ |
struct mdoc_node *parent; /* parent AST node */ |
Line 332 struct mdoc_node { |
|
Line 344 struct mdoc_node { |
|
enum mdoc_endbody end; /* BODY */ |
enum mdoc_endbody end; /* BODY */ |
|
|
union { |
union { |
|
struct mdoc_an An; |
struct mdoc_bd *Bd; |
struct mdoc_bd *Bd; |
struct mdoc_bf *Bf; |
struct mdoc_bf *Bf; |
struct mdoc_bl *Bl; |
struct mdoc_bl *Bl; |