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]

Newb question about code style


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.


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