[BACK]Return to mdoc.h CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mdoc.h between version 1.84 and 1.91

version 1.84, 2010/06/12 10:09:19 version 1.91, 2010/06/26 15:22:19
Line 1 
Line 1 
 /*      $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 155  enum mdoct {
Line 155  enum mdoct {
   
 /* What follows is a list of ALL possible macro arguments. */  /* What follows is a list of ALL possible macro arguments. */
   
   /* FIXME: make this into an enum. */
 #define MDOC_Split       0  #define MDOC_Split       0
 #define MDOC_Nosplit     1  #define MDOC_Nosplit     1
 #define MDOC_Ragged      2  #define MDOC_Ragged      2
Line 272  enum mdoc_disp {
Line 273  enum mdoc_disp {
         DISP_literal          DISP_literal
 };  };
   
   struct  mdoc_bd {
           const char       *offs; /* -offset */
           enum mdoc_disp    type; /* -ragged, etc. */
           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 299  struct mdoc_node {
Line 313  struct mdoc_node {
         char             *string;       /* TEXT */          char             *string;       /* TEXT */
   
         union {          union {
                 enum mdoc_list list; /* `Bl' nodes */                  struct mdoc_bl Bl;
                 enum mdoc_disp disp; /* `Bd' nodes */                  struct mdoc_bd Bd;
         } data;          } data;
 };  };
   

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.91

CVSweb