"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "roff.h" between
mdocml-1.14.1rc1.tar.gz and mdocml-1.14.1rc2.tar.gz

About: mdocml is a suite of tools compiling "-mdoc", the roff macro package of choice for BSD manual pages, and "-man", the predominant historical package for UNIX manuals. Hint: The installed binary name is "mandoc". Release candidate.

roff.h  (mdocml-1.14.1rc1):roff.h  (mdocml-1.14.1rc2)
/* $Id: roff.h,v 1.39 2017/01/10 13:47:00 schwarze Exp $ */ /* $Id: roff.h,v 1.40 2017/02/16 03:00:23 schwarze Exp $ */
/* /*
* 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, 2017 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
* copyright notice and this permission notice appear in all copies. * copyright notice and this permission notice appear in all copies.
* *
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
skipping to change at line 78 skipping to change at line 78
ROFF_NEXT_SIBLING = 0, ROFF_NEXT_SIBLING = 0,
ROFF_NEXT_CHILD ROFF_NEXT_CHILD
}; };
/* /*
* Indicates that a BODY's formatting has ended, but * Indicates that a BODY's formatting has ended, but
* the scope is still open. Used for badly nested blocks. * the scope is still open. Used for badly nested blocks.
*/ */
enum mdoc_endbody { enum mdoc_endbody {
ENDBODY_NOT = 0, ENDBODY_NOT = 0,
ENDBODY_SPACE, /* Is broken: append a space. */ ENDBODY_SPACE /* Is broken: append a space. */
ENDBODY_NOSPACE /* Is broken: don't append a space. */
}; };
struct roff_node { struct roff_node {
struct roff_node *parent; /* Parent AST node. */ struct roff_node *parent; /* Parent AST node. */
struct roff_node *child; /* First child AST node. */ struct roff_node *child; /* First child AST node. */
struct roff_node *last; /* Last child AST node. */ struct roff_node *last; /* Last child AST node. */
struct roff_node *next; /* Sibling AST node. */ struct roff_node *next; /* Sibling AST node. */
struct roff_node *prev; /* Prior sibling AST node. */ struct roff_node *prev; /* Prior sibling AST node. */
struct roff_node *head; /* BLOCK */ struct roff_node *head; /* BLOCK */
struct roff_node *body; /* BLOCK/ENDBODY */ struct roff_node *body; /* BLOCK/ENDBODY */
 End of changes. 2 change blocks. 
3 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS