From 4c2ab19ac875efa9feff756a02ea23d41f9d57e3 Mon Sep 17 00:00:00 2001 From: Haowen Liu Date: Sat, 8 Feb 2025 17:34:19 -0500 Subject: [PATCH] Indent meson files with 2 spaces --- src/cps/pc_compat/meson.build | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/cps/pc_compat/meson.build b/src/cps/pc_compat/meson.build index f9c3ab5..dd9e126 100644 --- a/src/cps/pc_compat/meson.build +++ b/src/cps/pc_compat/meson.build @@ -4,31 +4,31 @@ prog_flex = find_program('', required : false) flex_args = [] prog_bison = find_program('', required : false) if host_machine.system() == 'windows' - prog_flex = find_program('win_flex', required : false, version : _flex_vesrion) - if prog_flex.found() - # This uses instead of - flex_args = ['--wincompat'] - endif + prog_flex = find_program('win_flex', required : false, version : _flex_vesrion) + if prog_flex.found() + # This uses instead of + flex_args = ['--wincompat'] + endif - prog_bison = find_program('win_bison', required : false, version : _bison_version) + prog_bison = find_program('win_bison', required : false, version : _bison_version) endif if not prog_flex.found() - prog_flex = find_program('flex', version : _flex_version) + prog_flex = find_program('flex', version : _flex_version) endif if not prog_bison.found() - prog_bison = find_program('bison', version : _bison_version) + prog_bison = find_program('bison', version : _bison_version) endif pc_scanner = custom_target( - 'pc_scanner', - command : [prog_flex, flex_args, '--outfile=@OUTPUT0@', '--header-file=@OUTPUT1@', '@INPUT@'], - input : 'pc.l', - output : ['@BASENAME@.scanner.cpp', '@BASENAME@.scanner.hpp'], + 'pc_scanner', + command : [prog_flex, flex_args, '--outfile=@OUTPUT0@', '--header-file=@OUTPUT1@', '@INPUT@'], + input : 'pc.l', + output : ['@BASENAME@.scanner.cpp', '@BASENAME@.scanner.hpp'], ) pc_parser = custom_target( - 'pc_parser', - command : [prog_bison, '-d', '@INPUT@', '-v', '--output=@OUTPUT0@', '--defines=@OUTPUT1@'], - input : 'pc.y', - output : ['@BASENAME@.parser.cpp', '@BASENAME@.parser.hpp', 'locations.hpp'] + 'pc_parser', + command : [prog_bison, '-d', '@INPUT@', '-v', '--output=@OUTPUT0@', '--defines=@OUTPUT1@'], + input : 'pc.y', + output : ['@BASENAME@.parser.cpp', '@BASENAME@.parser.hpp', 'locations.hpp'] )