=================================================================== RCS file: /cvs/mandoc/mdoc.h,v retrieving revision 1.86 retrieving revision 1.91 diff -u -p -r1.86 -r1.91 --- mandoc/mdoc.h 2010/06/12 11:58:22 1.86 +++ mandoc/mdoc.h 2010/06/26 15:22:19 1.91 @@ -1,6 +1,6 @@ -/* $Id: mdoc.h,v 1.86 2010/06/12 11:58:22 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.91 2010/06/26 15:22:19 kristaps Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -155,6 +155,7 @@ enum mdoct { /* What follows is a list of ALL possible macro arguments. */ +/* FIXME: make this into an enum. */ #define MDOC_Split 0 #define MDOC_Nosplit 1 #define MDOC_Ragged 2 @@ -273,13 +274,16 @@ enum mdoc_disp { }; struct mdoc_bd { - const char *offs; - enum mdoc_disp type; - int comp; + const char *offs; /* -offset */ + enum mdoc_disp type; /* -ragged, etc. */ + int comp; /* -compact */ }; struct mdoc_bl { - enum mdoc_list type; + const char *width; /* -width */ + const char *offs; /* -offset */ + enum mdoc_list type; /* -tag, -enum, etc. */ + int comp; /* -compact */ }; /* Node in AST. */