[Bro-Dev] whitespace convention (tab vs. space)
Vern Paxson
vern at icir.org
Wed Apr 20 19:15:04 PDT 2011
> But then the alignment depends on tab width, right?
Yep. And for the Bro sources, that has always been 8 columns.
> Another way to do it is having the continuation line(s) contain a number
> of tabs equal to the level of indentation plus however many spaces are
> necessary to get the right alignment.
That's okay with me in principle. But it's pretty fundamental that we
need a pretty printer that enforces stuff like this. The current style
is the way it is in part due to how vi treats auto-indentation.
Vern
More information about the bro-dev
mailing list