This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newb question about code style


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]