- "Kevin P. Lawton" <[EMAIL PROTECTED]>: 
    Small mod to get NetBSD to boot from Krister Walfridsson in vga.cc.
    Integrated dt-testbed/proto3 from Ramon.  Ramon restructured some
      things so he can research more advanced DT techniques in parallel
      to the lightweight DT development.

BTW, please submit code with _no_ tabs.  Tell your editor or
formatter to emit spaces.  Tab widths are non-standard, and
since we don't really have any coding standards, they complicate
things.

I played with GNU indent a little.  New versions do have the
'-nut' option to not use tabs.  Unfortunately, indent makes a
complete mess out of asm() statements which use multiple string
segments for clarity like:

  asm (
    "  instr \n\t"
    "  instr \n\t"
    ...
    );

It wants to format the strings together on lines when possible.
Indent also has some peculiarities which make it less than usable,
like not honoring brace indent values when the leading brace is
'cuddled' on the if/for/etc line.  I have no idea why this should
affect the trailing brace indent.  Looks to me like indent
was hacked to serve a set of coding styles, rather than be a flexible
source beautifier.

Any tips appreciated for better source formatters.

-Kevin


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton                        [EMAIL PROTECTED]
MandrakeSoft, Inc.                  Plex86 developer
http://www.linux-mandrake.com/      http://www.plex86.org/

Reply via email to