version 1.85, 2010/06/12 11:21:44 |
version 1.90, 2010/06/19 20:46:28 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> |
* Copyright (c) 2008, 2009 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 273 enum mdoc_disp { |
|
Line 273 enum mdoc_disp { |
|
}; |
}; |
|
|
struct mdoc_bd { |
struct mdoc_bd { |
const char *offs; |
const char *offs; /* -offset */ |
enum mdoc_disp type; |
enum mdoc_disp type; /* -ragged, etc. */ |
int comp; |
int comp; /* -compact */ |
}; |
}; |
|
|
|
struct mdoc_bl { |
|
const char *width; /* -width */ |
|
const char *offs; /* -offset */ |
|
enum mdoc_list type; /* -tag, -enum, etc. */ |
|
int comp; /* -compact */ |
|
}; |
|
|
/* 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 305 struct mdoc_node { |
|
Line 312 struct mdoc_node { |
|
char *string; /* TEXT */ |
char *string; /* TEXT */ |
|
|
union { |
union { |
enum mdoc_list list; /* `Bl' nodes */ |
struct mdoc_bl Bl; |
struct mdoc_bd Bd; |
struct mdoc_bd Bd; |
} data; |
} data; |
}; |
}; |