Added struct members for regexp reversion code

Renamed current_reprule to current_rule, now used for both directions
This commit is contained in:
Thomas Jensen 1999-06-14 12:11:54 +00:00
parent c033fef722
commit 6756a85171

View File

@ -3,7 +3,7 @@
* Date created: March 18, 1999 (Thursday, 15:09h) * Date created: March 18, 1999 (Thursday, 15:09h)
* Author: Thomas Jensen * Author: Thomas Jensen
* tsjensen@stud.informatik.uni-erlangen.de * tsjensen@stud.informatik.uni-erlangen.de
* Version: $Id: boxes.h,v 1.6 1999/04/09 13:32:55 tsjensen Exp tsjensen $ * Version: $Id: boxes.h,v 1.7 1999/06/03 18:54:33 tsjensen Exp tsjensen $
* Language: ANSI C * Language: ANSI C
* Purpose: Project-wide globals and data structures * Purpose: Project-wide globals and data structures
* Remarks: --- * Remarks: ---
@ -11,6 +11,9 @@
* Revision History: * Revision History:
* *
* $Log: boxes.h,v $ * $Log: boxes.h,v $
* Revision 1.7 1999/06/03 18:54:33 tsjensen
* *** empty log message ***
*
* Revision 1.6 1999/04/09 13:32:55 tsjensen * Revision 1.6 1999/04/09 13:32:55 tsjensen
* Removed code related to OFFSET blocks (obsolete) * Removed code related to OFFSET blocks (obsolete)
* *
@ -41,7 +44,7 @@
#include "regexp.h" #include "regexp.h"
#pragma ident "$Id: boxes.h,v 1.6 1999/04/09 13:32:55 tsjensen Exp tsjensen $" #pragma ident "$Id: boxes.h,v 1.7 1999/06/03 18:54:33 tsjensen Exp tsjensen $"
#define PROJECT "boxes" /* name of program */ #define PROJECT "boxes" /* name of program */
#define VERSION "1.0 alpha 2" /* current release of project */ #define VERSION "1.0 alpha 2" /* current release of project */
@ -122,17 +125,20 @@ typedef struct {
typedef struct { typedef struct {
char *name; char *name;
char *author; char *author;
char *created; char *created; /* date created, free format */
char *revision; char *revision; /* revision number of design */
char *revdate; char *revdate; /* date of current revision */
char *sample; char *sample;
char indentmode; /* 'b', 't', or 'n' */
sentry_t shape[ANZ_SHAPES];
size_t minwidth; size_t minwidth;
size_t minheight; size_t minheight;
char indentmode; /* 'b', 't', or 'n' */
reprule_t *current_reprule; reprule_t *current_rule;
reprule_t *reprules; reprule_t *reprules; /* applied when drawing a box */
size_t anz_reprules; size_t anz_reprules;
sentry_t shape[ANZ_SHAPES]; reprule_t *revrules; /* applied upon removal of a box */
size_t anz_revrules;
} design_t; } design_t;
extern design_t *designs; extern design_t *designs;