This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Newb question about code style
- From: Andrew Haley <aph at redhat dot com>
- To: sashan <sashang at ihug dot co dot nz>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 17 Mar 2004 12:01:22 +0000
- Subject: Newb question about code style
- References: <40583D5F.4060408@ihug.co.nz>
sashan writes:
> Hello
>
> I decided to have a look at gcc and how it works. I've built the 3.4
> tree, set a breakpoint in main using gdb and worked from there. I notice
> that some of the code in gcc.c mixes tabs and spaces and code looks like
> it is outside a loop is actually inside. Is this intentional?
You've probably got different tab stop settings. Tab stops are 8
spaces wide in gcc.
Andrew.