Deleted Added
full compact
indent_globs.h (116390) indent_globs.h (125633)
1/*
2 * Copyright (c) 1985 Sun Microsystems, Inc.
3 * Copyright (c) 1980, 1993
4 * The Regents of the University of California. All rights reserved.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 *
35 * @(#)indent_globs.h 8.1 (Berkeley) 6/6/93
1/*
2 * Copyright (c) 1985 Sun Microsystems, Inc.
3 * Copyright (c) 1980, 1993
4 * The Regents of the University of California. All rights reserved.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 *
35 * @(#)indent_globs.h 8.1 (Berkeley) 6/6/93
36 * $FreeBSD: head/usr.bin/indent/indent_globs.h 116390 2003-06-15 09:28:17Z charnier $
36 * $FreeBSD: head/usr.bin/indent/indent_globs.h 125633 2004-02-09 21:48:51Z bde $
37 */
38
39#define BACKSLASH '\\'
40#define bufsize 200 /* size of internal buffers */
41#define sc_size 5000 /* size of save_com buffer */
42#define label_offset 2 /* number of levels a label is placed to left
43 * of code */
44

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

298 int use_ff; /* set to one if the current line should be
299 * terminated with a form feed */
300 int want_blank; /* set to true when the following token should
301 * be prefixed by a blank. (Said prefixing is
302 * ignored in some cases.) */
303 int else_if; /* True iff else if pairs should be handled
304 * specially */
305 int decl_indent; /* column to indent declared identifiers to */
37 */
38
39#define BACKSLASH '\\'
40#define bufsize 200 /* size of internal buffers */
41#define sc_size 5000 /* size of save_com buffer */
42#define label_offset 2 /* number of levels a label is placed to left
43 * of code */
44

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

298 int use_ff; /* set to one if the current line should be
299 * terminated with a form feed */
300 int want_blank; /* set to true when the following token should
301 * be prefixed by a blank. (Said prefixing is
302 * ignored in some cases.) */
303 int else_if; /* True iff else if pairs should be handled
304 * specially */
305 int decl_indent; /* column to indent declared identifiers to */
306 int local_decl_indent; /* like decl_indent but for locals */
306 int its_a_keyword;
307 int sizeof_keyword;
308 int dumped_decl_indent;
309 float case_indent; /* The distance to indent case labels from the
310 * switch statement */
311 int in_parameter_declaration;
312 int indent_parameters;
313 int tos; /* pointer to top of stack */
314 char procname[100]; /* The name of the current procedure */
315 int just_saw_decl;
316} ps;
317
318int ifdef_level;
319int rparen_count;
320struct parser_state state_stack[5];
321struct parser_state match_state[5];
307 int its_a_keyword;
308 int sizeof_keyword;
309 int dumped_decl_indent;
310 float case_indent; /* The distance to indent case labels from the
311 * switch statement */
312 int in_parameter_declaration;
313 int indent_parameters;
314 int tos; /* pointer to top of stack */
315 char procname[100]; /* The name of the current procedure */
316 int just_saw_decl;
317} ps;
318
319int ifdef_level;
320int rparen_count;
321struct parser_state state_stack[5];
322struct parser_state match_state[5];