#
#  K&R style
#
# $Id: brace-kr.cfg 803 2007-07-25 00:36:25Z bengardner $
#

indent_with_tabs		= 1		# 1=indent to level only, 2=indent with tabs
input_tab_size			= 8		# original tab size
output_tab_size			= 8		# new tab size
indent_columns			= output_tab_size

# brace placement
nl_assign_brace			= remove	# "= {" vs "= \n {"
nl_enum_brace			= remove	# "enum {" vs "enum \n {"
nl_union_brace			= remove	# "union {" vs "union \n {"
nl_struct_brace			= remove	# "struct {" vs "struct \n {"
nl_do_brace			= remove	# "do {" vs "do \n {"
nl_if_brace			= remove	# "if () {" vs "if () \n {"
nl_for_brace			= remove	# "for () {" vs "for () \n {"
nl_else_brace			= remove	# "else {" vs "else \n {"
nl_while_brace			= remove	# "while () {" vs "while () \n {"
nl_switch_brace			= remove	# "switch () {" vs "switch () \n {"
nl_fcall_brace			= add		# "foo() {" vs "foo()\n{"
nl_fdef_brace			= add		# "int foo() {" vs "int foo()\n{"
nl_brace_while			= remove
nl_brace_else			= remove

# spaces around braces
sp_before_sparen		= force		# "if (" vs "if("
sp_after_sparen			= force		# "if () {" vs "if (){"
sp_assign			= add
sp_else_brace			= force

# nl_squeeze_ifdef		= TRUE
# nl_func_var_def_blk		= 1
# nl_before_case			= 1
# nl_after_return			= TRUE

nl_after_brace_open           = true
mod_full_brace_do             = add
mod_full_brace_for            = add
mod_full_brace_if             = add

