Deleted Added
full compact
defs.h (10075) defs.h (28066)
1/*-
2 * Copyright (c) 1992 Diomidis Spinellis.
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Diomidis Spinellis of Imperial College, University of London.
8 *

--- 120 unchanged lines hidden (view full) ---

129 */
130typedef struct {
131 char *space; /* Current space pointer. */
132 size_t len; /* Current length. */
133 int deleted; /* If deleted. */
134 char *back; /* Backing memory. */
135 size_t blen; /* Backing memory length. */
136} SPACE;
1/*-
2 * Copyright (c) 1992 Diomidis Spinellis.
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Diomidis Spinellis of Imperial College, University of London.
8 *

--- 120 unchanged lines hidden (view full) ---

129 */
130typedef struct {
131 char *space; /* Current space pointer. */
132 size_t len; /* Current length. */
133 int deleted; /* If deleted. */
134 char *back; /* Backing memory. */
135 size_t blen; /* Backing memory length. */
136} SPACE;
137
138/*
139 * Error severity codes:
140 */
141#define FATAL 0 /* Exit immediately with 1 */
142#define ERROR 1 /* Continue, but change exit value */
143#define WARNING 2 /* Just print the warning */
144#define COMPILE 3 /* Print error, count and finish script */
145#define COMPILE2 3 /* Print error, count and finish script */