args.c (116390) | args.c (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 --- 26 unchanged lines hidden (view full) --- 35 36#if 0 37#ifndef lint 38static char sccsid[] = "@(#)args.c 8.1 (Berkeley) 6/6/93"; 39#endif /* not lint */ 40#endif 41 42#include <sys/cdefs.h> | 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 --- 26 unchanged lines hidden (view full) --- 35 36#if 0 37#ifndef lint 38static char sccsid[] = "@(#)args.c 8.1 (Berkeley) 6/6/93"; 39#endif /* not lint */ 40#endif 41 42#include <sys/cdefs.h> |
43__FBSDID("$FreeBSD: head/usr.bin/indent/args.c 116390 2003-06-15 09:28:17Z charnier $"); | 43__FBSDID("$FreeBSD: head/usr.bin/indent/args.c 125633 2004-02-09 21:48:51Z bde $"); |
44 45/* 46 * Argument scanning and profile reading code. Default parameters are set 47 * here as well. 48 */ 49 50#include <ctype.h> 51#include <err.h> --- 64 unchanged lines hidden (view full) --- 116 {"fc1", PRO_BOOL, true, ON, &format_col1_comments}, 117 {"fcb", PRO_BOOL, true, ON, &format_block_comments}, 118 {"fc", PRO_FONT, 0, 0, (int *) &scomf}, 119 {"fk", PRO_FONT, 0, 0, (int *) &keywordf}, 120 {"fs", PRO_FONT, 0, 0, (int *) &stringf}, 121 {"ip", PRO_BOOL, true, ON, &ps.indent_parameters}, 122 {"i", PRO_INT, 8, 0, &ps.ind_size}, 123 {"lc", PRO_INT, 0, 0, &block_comment_max_col}, | 44 45/* 46 * Argument scanning and profile reading code. Default parameters are set 47 * here as well. 48 */ 49 50#include <ctype.h> 51#include <err.h> --- 64 unchanged lines hidden (view full) --- 116 {"fc1", PRO_BOOL, true, ON, &format_col1_comments}, 117 {"fcb", PRO_BOOL, true, ON, &format_block_comments}, 118 {"fc", PRO_FONT, 0, 0, (int *) &scomf}, 119 {"fk", PRO_FONT, 0, 0, (int *) &keywordf}, 120 {"fs", PRO_FONT, 0, 0, (int *) &stringf}, 121 {"ip", PRO_BOOL, true, ON, &ps.indent_parameters}, 122 {"i", PRO_INT, 8, 0, &ps.ind_size}, 123 {"lc", PRO_INT, 0, 0, &block_comment_max_col}, |
124 {"ldi", PRO_INT, -1, 0, &ps.local_decl_indent}, |
|
124 {"lp", PRO_BOOL, true, ON, &lineup_to_parens}, 125 {"l", PRO_INT, 78, 0, &max_col}, 126 {"nbacc", PRO_BOOL, false, OFF, &blanklines_around_conditional_compilation}, 127 {"nbadp", PRO_BOOL, false, OFF, &blanklines_after_declarations_at_proctop}, 128 {"nbad", PRO_BOOL, false, OFF, &blanklines_after_declarations}, 129 {"nbap", PRO_BOOL, false, OFF, &blanklines_after_procs}, 130 {"nbbb", PRO_BOOL, false, OFF, &blanklines_before_blockcomments}, 131 {"nbc", PRO_BOOL, true, ON, &ps.leave_comma}, --- 175 unchanged lines hidden --- | 125 {"lp", PRO_BOOL, true, ON, &lineup_to_parens}, 126 {"l", PRO_INT, 78, 0, &max_col}, 127 {"nbacc", PRO_BOOL, false, OFF, &blanklines_around_conditional_compilation}, 128 {"nbadp", PRO_BOOL, false, OFF, &blanklines_after_declarations_at_proctop}, 129 {"nbad", PRO_BOOL, false, OFF, &blanklines_after_declarations}, 130 {"nbap", PRO_BOOL, false, OFF, &blanklines_after_procs}, 131 {"nbbb", PRO_BOOL, false, OFF, &blanklines_before_blockcomments}, 132 {"nbc", PRO_BOOL, true, ON, &ps.leave_comma}, --- 175 unchanged lines hidden --- |