(CommandList children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Number '$1'))} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ("Usage: DEFINES='list' HEADERS='list' ") (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) ) } ] redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (SimpleCommand words: [{(echo)} {(DQ (" [TARGET_CPU_DEFAULT='default'] mkconfig.sh FILE"))}] redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 77] ) ] spids: [16777215 105] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:output) op:Equal rhs:{($ VSub_Number '$1')} spids:[108])] spids: [108] ) (C {(rm)} {(-f)} {(${ VSub_Name output) (T)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:hg_sed_expr) op: Equal rhs: {(SQ <'y,abcdefghijklmnopqrstuvwxyz./,ABCDEFGHIJKLMNOPQRSTUVWXYZ__,'>)} spids: [124] ) ] spids: [124] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:header_guard) op: Equal rhs: {(GCC_) (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {(${ VSub_Name output)}) (C {(sed)} {(-e)} {(${ VSub_Name hg_sed_expr)}) ] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [131 147] ) } spids: [129] ) ] spids: [129] ) (SimpleCommand words: [{(echo)} {(DQ ('#ifndef ') (${ VSub_Name header_guard))}] redirects: [(Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(${ VSub_Name output) (T)})] ) (SimpleCommand words: [{(echo)} {(DQ ('#define ') (${ VSub_Name header_guard))}] redirects: [(Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(${ VSub_Name output) (T)})] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {(x) (DQ ($ VSub_Name '$output'))} {(Lit_Other '=')} {(x) (DQ (config.h))}) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(DQ ('#ifdef GENERATOR_FILE'))}] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) ] ) (SimpleCommand words: [{(echo)} {(DQ ('#error config.h is for the host, not build, machine.'))}] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) ] ) (SimpleCommand words: [{(echo)} {(DQ ('#endif'))}] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) ] ) ] spids: [16777215 209] ) ] spids: [16777215 253] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$TARGET_CPU_DEFAULT'))} {(KW_Bang '!') (Lit_Other '=')} {(DQ )} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} {(DQ ('#define TARGET_CPU_DEFAULT (') ($ VSub_Name '$TARGET_CPU_DEFAULT') (')'))} ] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) ] ) ] spids: [16777215 279] ) ] spids: [16777215 297] ) (ForEach iter_name: def iter_words: [{($ VSub_Name '$DEFINES')}] do_arg_iter: F body: (DoGroup children: [ (Pipeline children: [ (C {(echo)} {(DQ ('#ifndef ') ($ VSub_Name '$def'))}) (SimpleCommand words: [{(sed)} {(SQ <'s/=.*//'>)}] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) ] ) ] negated: F ) (Pipeline children: [ (C {(echo)} {(DQ ('# define ') ($ VSub_Name '$def'))}) (SimpleCommand words: [{(sed)} {(SQ <'s/=/ /'>)}] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) ] ) ] negated: F ) (SimpleCommand words: [{(echo)} {(DQ ('#endif'))}] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) ] ) ] spids: [312 374] ) spids: [308 310] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_Name '$HEADERS'))} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (C {(set)} {($ VSub_Name '$HEADERS')}) (Case to_match: {(DQ ($ VSub_Number '$1'))} arms: [ (case_arm pat_list: [{(auto-) (Lit_Other '*')}] action: [ (SimpleCommand words: [ {(echo)} { (DQ ('#include ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Number '$1') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ) } ] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) ] ) (C {(shift)}) ] spids: [412 415 438 16777215] ) ] spids: [404 410 441] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {($ VSub_Pound '$#')} {(-ge)} {(1)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(SQ <'#ifdef IN_GCC'>)}] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) ] ) (ForEach iter_name: file iter_words: [{(DQ ($ VSub_At '$@'))}] do_arg_iter: F body: (DoGroup children: [ (SimpleCommand words: [ {(echo)} { (DQ ('# include ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Name '$file') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ) } ] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) ] ) ] spids: [485 505] ) spids: [479 483] ) (SimpleCommand words: [{(echo)} {(SQ <'#endif'>)}] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) ] ) ] spids: [16777215 457] ) ] spids: [16777215 522] ) ] spids: [16777215 396] ) ] spids: [16777215 524] ) (Case to_match: {($ VSub_Name '$output')} arms: [ (case_arm pat_list: [{(tm.h)}] action: [ (SimpleCommand words: [{(cat)}] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(${ VSub_Name output) (T)} ) (HereDoc op: <Redir_DLess '<<'> fd: 16777215 here_begin: {(EOF)} here_end_span_id: 574 stdin_parts: [ ('#if defined IN_GCC && !defined GENERATOR_FILE && !defined USED_FOR_TARGET\n') ('# include ') (Right_DoubleQuote '"') (insn-constants.h) (Right_DoubleQuote '"') ('\n') ('# include ') (Right_DoubleQuote '"') (insn-flags.h) (Right_DoubleQuote '"') ('\n') ('#endif\n') ] ) ] ) ] spids: [544 546 576 16777215] ) ] spids: [537 541 578] ) (SimpleCommand words: [{(echo)} {(DQ ('#endif /* ') (${ VSub_Name header_guard) (' */'))}] redirects: [(Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(${ VSub_Name output) (T)})] ) (If arms: [ (if_arm cond: [ (Sentence child: (AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-f)} {($ VSub_Name '$output')} {(Lit_Other ']')}) (SimpleCommand words: [{(cmp)} {(${ VSub_Name output) (T)} {($ VSub_Name '$output')}] redirects: [ (Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(/dev/null)} ) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {($ VSub_Name '$output')} {(is)} {(unchanged)}] redirects: [(Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (C {(rm)} {(-f)} {(${ VSub_Name output) (T)}) ] spids: [16777215 633] ) ] else_action: [(C {(mv)} {(-f)} {(${ VSub_Name output) (T)} {($ VSub_Name '$output')})] spids: [657 671] ) (C {(rm)} {(-f)} {(cs-) ($ VSub_Name '$output')}) (SimpleCommand words: [{(echo)} {(timestamp)}] redirects: [(Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(cs-) ($ VSub_Name '$output')})] ) ] )