|
Re: Indenting the source: msg#00036lang.nasm.devel
Ed Beroset wrote:
OK, both of those I feel fairly strongly about. I really want the difference between statements like if, for, and while and function calls, and NASM, like most compilers, is really way too nested to be well handled by an indentation level of 8 and still have space for comments. Linus doesn't believe in comments, so he advocates indentation by 8. To quote Andrew Morton, "however, I do." I actually like spaces around the parens in if, for, and while statements ONLY, but it doesn't seem to be doable with GNU indent. 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. I think I've effectively decided to rewrite a big chunk of the outbin file. There is way too much in there that has to be sanitized, I fear. The new design I'm sketching on has a major advantage, though: it should allow "hanging sections" (sections aligned from the top down), which very few linkers can generate. -hpa ------------------------------------------------------- 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: 00036, Ed Beroset |
|---|---|
| Next by Date: | Re: Indenting the source: 00036, H. Peter Anvin |
| Previous by Thread: | Re: Indenting the sourcei: 00036, Ed Beroset |
| Next by Thread: | Re: Indenting the source: 00036, H. Peter Anvin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |