summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-07-13 14:44:45 -0700
committerKenneth Graunke <[email protected]>2013-07-16 11:31:58 -0700
commit00d32cd5b4119b8c477326d72ae8d069ea87b49e (patch)
tree7d081c1f79108093b4e5b1b25ec7fae42cf3fb86 /m4
parent4ab7fc9ec345eab7a019174d513a918626c61dcf (diff)
glsl: Fix absurd whitespace conventions in the parser.
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 editor to understand this, it will get the indentation wrong on every single line you touch, which quickly devolves into a colossal waste of time. It's also inconsistent with every other file in the entire project. This patch removes all tabs and moves to a consistent 3-space indent. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions