Re: [Mesa-dev] [PATCH] glsl: Fix absurd whitespace conventions in the parser.

2013-07-13 Thread Chris Forbes
Glad to see this madness disappear :) Reviewed-by: Chris Forbes ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] glsl: Fix absurd whitespace conventions in the parser.

2013-07-13 Thread Matt Turner
On Sat, Jul 13, 2013 at 2:58 PM, Kenneth Graunke wrote: > Historically, we indented grammar production rules with a single 8-space > tab, but code inside of blocks used Mesa's 3-space indents. > > This meant when editing code, you had to use an 8-space tab for the > first level of indentation, and

[Mesa-dev] [PATCH] glsl: Fix absurd whitespace conventions in the parser.

2013-07-13 Thread Kenneth Graunke
Historically, we indented grammar production rules with a single 8-space tab, but code inside of blocks used Mesa's 3-space indents. This meant when editing code, you had to use an 8-space tab for the first level of indentation, and 3-spaces after that. Unless you specifically configure your edit