meson: Use consistent style

Currently the meosn build has a mix of two styles:
arg : [foo, ...
       bar],

and
arg : [
  foo, ...,
  bar,
]

For consistency let's pick one. I've picked the later style, which I
think is more readable, and is more common in the mesa code base.

v2: - fix commit message

Acked-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
This commit is contained in:
Dylan Baker
2017-12-11 15:56:08 -08:00
parent c3d802d68e
commit fbf192a67e
17 changed files with 148 additions and 85 deletions

View File

@@ -22,8 +22,10 @@ glcpp_parse = custom_target(
'glcpp-parse.[ch]',
input : 'glcpp-parse.y',
output : ['glcpp-parse.c', 'glcpp-parse.h'],
command : [prog_bison, '-o', '@OUTPUT0@', '-p', 'glcpp_parser_',
'--defines=@OUTPUT1@', '@INPUT@'],
command : [
prog_bison, '-o', '@OUTPUT0@', '-p', 'glcpp_parser_',
'--defines=@OUTPUT1@', '@INPUT@',
],
)
glcpp_lex = custom_target(

View File

@@ -24,8 +24,10 @@ glsl_parser = custom_target(
'glsl_parser',
input : 'glsl_parser.yy',
output : ['glsl_parser.cpp', 'glsl_parser.h'],
command : [prog_bison, '-o', '@OUTPUT0@', '-p', '_mesa_glsl_',
'--defines=@OUTPUT1@', '@INPUT@'],
command : [
prog_bison, '-o', '@OUTPUT0@', '-p', '_mesa_glsl_', '--defines=@OUTPUT1@',
'@INPUT@',
],
)
glsl_lexer_cpp = custom_target(