|
Re: Indenting the source: msg#00038lang.nasm.devel
H. Peter Anvin wrote: Ed Beroset wrote: I think you may misunderstand the difference. The -ci8 is just the *continuation* indent, meaning a single long line of code is wrapped and indented by 8. The -i4 means that the normal indentation is still 4, as we both have indicated we prefer. Most of the code seems to be in that style already. Also, by preferring -lp instead of -nlp, you actually leave less room for comments, not more. The example statements above illustrate both of these points. The -lp version has the function arguments lined up vertically, and the -nlp -ci8 just indents the second line by 8 spaces instead as many as it takes to line up the parameters. If this is OK with everyone else, I'll run indent over the sources and check those in as a separate checkin. It's still a flag day -- you effectively lose all change tracking across the reformat -- but at least there are no other changes involved. Yes, I'd strongly endorse this, but only if we agree first on which style to use. As you say, it's a flag day, and so we'd better only do it once! Ed ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Indenting the source: 00038, H. Peter Anvin |
|---|---|
| Next by Date: | Re: Indenting the source: 00038, H. Peter Anvin |
| Previous by Thread: | Re: Indenting the sourcei: 00038, H. Peter Anvin |
| Next by Thread: | Re: Indenting the source: 00038, H. Peter Anvin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |