delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/07/15:01:58

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bracketing: A Matter of Style
Date: 07 Apr 2000 11:39:17 -0700
Organization: InterWorld Communications
Lines: 26
Message-ID: <83k8i9rc16.fsf@mercury.st.hmc.edu>
References: <38EBEA6D DOT D1E0E8BD AT home DOT com> <Pine DOT LNX DOT 4 DOT 10 DOT 10004061257530 DOT 1735-100000 AT darkstar DOT grendel DOT net> <kvuresct9vlm9hd6aghdkp03e172arbgbv AT 4ax DOT com>
NNTP-Posting-Host: mercury.st.hmc.edu
Mime-Version: 1.0
X-Trace: nntp1.interworld.net 955132996 10371 134.173.45.219 (7 Apr 2000 18:43:16 GMT)
X-Complaints-To: usenet AT nntp1 DOT interworld DOT net
NNTP-Posting-Date: 7 Apr 2000 18:43:16 GMT
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p> writes:

> c-style-alist, the data block where it gets the information on various
> styles, is a bit too dense for me to parse.  My style is as follows:
> 
> for(i = 0; i < 20; i++)
> {
>   foo(i);
>   bar(i);
>   switch(i)
>   {
>   case 1:
>     flip(i);
>   }
> }
> 
> It's similar to MSVC's default style, with two spaces per tab.
> Which style would that be?

According to the Jargon File, this looks like Allman style, or BSD
style.  The depth (2 spaces per tab) is set separately, I believe.

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019