Newb question about code style
sashan
sashang@ihug.co.nz
Wed Mar 17 12:16:00 GMT 2004
Andrew Haley wrote:
>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.
>
>
>
Ok thanks that makes a difference. I still don't understand the mixing of tabs and spaces though. The gnu website seems to be down so I can't read http://www.gnu.org/prep/standards_toc.html.
More information about the Gcc
mailing list