(CommandList
  children: [
    (C {(Lit_Other ":")})
    (Case
      to_match: 
        {
          (CommandSubPart
            command_list: 
              (CommandList
                children: [
                  (Subshell
                    child: 
                      (CommandList
                        children: [
                          (Sentence
                            child: 
                              (C {(typeset)} {(-u)} {(Lit_VarLike "s=") (a)} {(Lit_VarLike "n=") (0)})
                            terminator: <Op_Semi ";">
                          )
                          (Sentence
                            child: 
                              (DParen
                                child: 
                                  (BinaryAssign
                                    op_id: Arith_Equal
                                    left: (LhsName name:n)
                                    right: 
                                      (ArithBinary
                                        op_id: Arith_Plus
                                        left: (ArithVarRef name:n)
                                        right: (ArithWord w:{(Lit_Digits 1)})
                                      )
                                  )
                              )
                            terminator: <Op_Semi ";">
                          )
                          (C {(print)} {($ VSub_Name "$s") ($ VSub_Name "$n")})
                        ]
                      )
                    redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[130])]
                    spids: [102 128]
                  )
                ]
              )
            left_token: <Left_Backtick "`">
            spids: [101 132]
          )
        }
      arms: [
        (case_arm
          pat_list: [{(A1)}]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:shell) op:Equal rhs:{(ksh)} spids:[139])]
              spids: [139]
            )
            (C {(typeset)} {(-u)} {(ID)})
            (C {(typeset)} {(-i)} {(counter)} {(err_line)})
          ]
          spids: [136 137 159 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other "*")}]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:shell) op:Equal rhs:{(bsh)} spids:[164])]
              spids: [164]
            )
          ]
          spids: [161 162 168 -1]
        )
      ]
      spids: [99 134 170]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:command)
          op: Equal
          rhs: {($ VSub_Number "$0")}
          spids: [172]
        )
      ]
      spids: [172]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:counter) op:Equal rhs:{(0)} spids:[175])]
      spids: [175]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:define) op:Equal rhs:{(1)} spids:[178])]
      spids: [178]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:err_line) op:Equal rhs:{(0)} spids:[181])]
      spids: [181]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:type) op:Equal rhs:{(DQ )} spids:[184])]
      spids: [184]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:index) op:Equal rhs:{(DQ )} spids:[188])]
      spids: [188]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:first) op:Equal rhs:{(DQ )} spids:[192])]
      spids: [192]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:last) op:Equal rhs:{(DQ )} spids:[196])]
      spids: [196]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:table) op:Equal rhs:{(1)} spids:[200])]
      spids: [200]
    )
    (While
      cond: [(C {(Lit_Other ":")})]
      body: 
        (DoGroup
          children: [
            (Case
              to_match: {($ VSub_Number "$1")}
              arms: [
                (case_arm
                  pat_list: [{(-d)}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [(assign_pair lhs:(LhsName name:table) op:Equal rhs:{(0)} spids:[219])]
                      spids: [219]
                    )
                  ]
                  spids: [216 217 222 -1]
                )
                (case_arm
                  pat_list: [{(-t)}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [(assign_pair lhs:(LhsName name:define) op:Equal rhs:{(0)} spids:[228])]
                      spids: [228]
                    )
                  ]
                  spids: [225 226 231 -1]
                )
                (case_arm
                  pat_list: [{(Lit_Other "*")}]
                  action: [(ControlFlow token:<ControlFlow_Break break>)]
                  spids: [234 235 239 -1]
                )
              ]
              spids: [209 213 242]
            )
            (C {(shift)})
          ]
          spids: [207 247]
        )
    )
    (Case
      to_match: {($ VSub_Number "$1")}
      arms: [
        (case_arm
          pat_list: [{(DQ )}]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:err_file) op:Equal rhs:{(DQ )} spids:[259])]
              spids: [259]
            )
          ]
          spids: [-1 257 264 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other "*")}]
          action: [
            (SimpleCommand
              words: [{(exec)}]
              redirects: [(Redir op_id:Redir_Less fd:-1 arg_word:{($ VSub_Number "$1")} spids:[271])]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:err_file)
                  op: Equal
                  rhs: 
                    {
                      (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ($ VSub_Number "$1") 
                        (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (", ")
                      )
                    }
                  spids: [275]
                )
              ]
              spids: [275]
            )
          ]
          spids: [266 267 284 -1]
        )
      ]
      spids: [249 253 286]
    )
    (While
      cond: [(C {(read)} {(line)})]
      body: 
        (DoGroup
          children: [
            (Case
              to_match: {($ VSub_Name "$shell")}
              arms: [
                (case_arm
                  pat_list: [{(ksh)}]
                  action: [
                    (DParen
                      child: 
                        (BinaryAssign
                          op_id: Arith_Equal
                          left: (LhsName name:err_line)
                          right: 
                            (ArithBinary
                              op_id: Arith_Plus
                              left: (ArithVarRef name:err_line)
                              right: (ArithWord w:{(Lit_Digits 1)})
                            )
                        )
                    )
                  ]
                  spids: [303 304 315 -1]
                )
                (case_arm
                  pat_list: [{(Lit_Other "*")}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:err_line)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (C {(expr)} {($ VSub_Name "$err_line")} {(Lit_Other "+")} {(1)})
                                    ]
                                  )
                                left_token: <Left_Backtick "`">
                                spids: [322 330]
                              )
                            }
                          spids: [321]
                        )
                      ]
                      spids: [321]
                    )
                  ]
                  spids: [318 319 332 -1]
                )
              ]
              spids: [296 300 335]
            )
            (C {(set)} {(SQ )} {($ VSub_Name "$line")})
            (C {(shift)})
            (Case
              to_match: {($ VSub_Number "$1")}
              arms: [
                (case_arm
                  pat_list: [{(Lit_Other "[") (Lit_Pound "#") (Lit_Other "]") (Lit_Other "*")}]
                  action: [
                    (C {(echo)} {(DQ ("/*"))})
                    (While
                      cond: [(C {(Lit_Other ":")})]
                      body: 
                        (DoGroup
                          children: [
                            (Case
                              to_match: {($ VSub_Number "$1")}
                              arms: [
                                (case_arm
                                  pat_list: [
                                    {(Lit_Other "[") (Lit_Pound "#") (Lit_Other "]") (Lit_Other "*")}
                                  ]
                                  action: [
                                    (C {(shift)})
                                    (C {(echo)} {(DQ (" * ") ($ VSub_Star "$*"))})
                                    (C {(read)} {(line)})
                                    (C {(set)} {(SQ )} {($ VSub_Name "$line")})
                                    (C {(shift)})
                                  ]
                                  spids: [383 387 416 -1]
                                )
                                (case_arm
                                  pat_list: [{(Lit_Other "*")}]
                                  action: [(ControlFlow token:<ControlFlow_Break break>)]
                                  spids: [419 420 425 -1]
                                )
                              ]
                              spids: [376 380 428]
                            )
                          ]
                          spids: [374 431]
                        )
                    )
                    (C {(echo)} {(DQ (" */"))})
                    (C {(echo)})
                  ]
                  spids: [356 360 444 -1]
                )
              ]
              spids: [349 353 447]
            )
            (C {(eval)} {(set)} {(SQ <"\"\"">)} {($ VSub_Name "$line")})
            (C {(shift)})
            (Case
              to_match: {($ VSub_Number "$1")}
              arms: [
                (case_arm pat_list:[{(DQ )}] spids:[-1473475-1])
                (case_arm
                  pat_list: [
                    {(Lit_Other "%") (flags)}
                    {(Lit_Other "%") (keywords)}
                    {(Lit_Other "%") (sequence)}
                  ]
                  action: [
                    (Case
                      to_match: {($ VSub_Name "$define") (Lit_Other ":") ($ VSub_Name "$last")}
                      arms: [
                        (case_arm
                          pat_list: [{(1) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}]
                          action: [
                            (Case
                              to_match: {($ VSub_Name "$shell")}
                              arms: [
                                (case_arm
                                  pat_list: [{(ksh)}]
                                  action: [
                                    (DParen
                                      child: 
                                        (BinaryAssign
                                          op_id: Arith_Equal
                                          left: (LhsName name:n)
                                          right: 
                                            (ArithBinary
                                              op_id: Arith_Minus
                                              left: (ArithVarRef name:counter)
                                              right: (ArithWord w:{(Lit_Digits 1)})
                                            )
                                        )
                                    )
                                  ]
                                  spids: [511 512 523 -1]
                                )
                                (case_arm
                                  pat_list: [{(Lit_Other "*")}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:n)
                                          op: Equal
                                          rhs: 
                                            {
                                              (CommandSubPart
                                                command_list: 
                                                  (CommandList
                                                    children: [
                                                      (C {(expr)} {($ VSub_Name "$counter")} {(-)} {(1)})
                                                    ]
                                                  )
                                                left_token: <Left_Backtick "`">
                                                spids: [530 538]
                                              )
                                            }
                                          spids: [529]
                                        )
                                      ]
                                      spids: [529]
                                    )
                                  ]
                                  spids: [526 527 540 -1]
                                )
                              ]
                              spids: [504 508 543]
                            )
                            (C {(echo)} 
                              {
                                (DQ ("#define ") ($ VSub_Name "$prefix") ($ VSub_Name "$last") ("\t") 
                                  ($ VSub_Name "$n")
                                )
                              }
                            )
                          ]
                          spids: [498 502 557 -1]
                        )
                      ]
                      spids: [489 495 560]
                    )
                    (Case
                      to_match: {($ VSub_Name "$type")}
                      arms: [
                        (case_arm
                          pat_list: [{(Lit_Other "%") (flags)} {(Lit_Other "%") (sequence)}]
                          action: [
                            (If
                              arms: [
                                (if_arm
                                  cond: [(C {(test)} {($ VSub_Name "$define")} {(Lit_Other "=")} {(1)})]
                                  action: [(C {(echo)})]
                                  spids: [-1 589]
                                )
                              ]
                              spids: [-1 594]
                            )
                          ]
                          spids: [570 575 597 -1]
                        )
                        (case_arm
                          pat_list: [{(Lit_Other "%") (keywords)}]
                          action: [
                            (If
                              arms: [
                                (if_arm
                                  cond: [(C {(test)} {($ VSub_Name "$table")} {(Lit_Other "=")} {(1)})]
                                  action: [
                                    (C {(echo)} {(DQ ("\t0,\t0"))})
                                    (C {(echo)} {(DQ ("};"))})
                                    (C {(echo)})
                                  ]
                                  spids: [-1 616]
                                )
                                (if_arm
                                  cond: [(C {(test)} {($ VSub_Name "$define")} {(Lit_Other "=")} {(1)})]
                                  action: [(C {(echo)})]
                                  spids: [635 646]
                                )
                              ]
                              spids: [-1 651]
                            )
                          ]
                          spids: [600 602 654 -1]
                        )
                      ]
                      spids: [563 567 657]
                    )
                    (Case
                      to_match: {($ VSub_Name "$index")}
                      arms: [
                        (case_arm
                          pat_list: [{(Lit_Other "?") (Lit_Other "*")}]
                          action: [
                            (C {(eval)} 
                              {($ VSub_Name "$index") (Lit_Other "=") ($ VSub_Name "$counter")}
                            )
                          ]
                          spids: [667 669 677 -1]
                        )
                      ]
                      spids: [660 664 680]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:type)
                          op: Equal
                          rhs: {($ VSub_Number "$1")}
                          spids: [683]
                        )
                      ]
                      spids: [683]
                    )
                    (C {(shift)})
                    (Assignment
                      keyword: Assign_None
                      pairs: [(assign_pair lhs:(LhsName name:name) op:Equal rhs:{(DQ )} spids:[690])]
                      spids: [690]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:prefix)
                          op: Equal
                          rhs: {(DQ )}
                          spids: [695]
                        )
                      ]
                      spids: [695]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [(assign_pair lhs:(LhsName name:index) op:Equal rhs:{(DQ )} spids:[700])]
                      spids: [700]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [(assign_pair lhs:(LhsName name:init) op:Equal rhs:{(DQ )} spids:[705])]
                      spids: [705]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [(assign_pair lhs:(LhsName name:first) op:Equal rhs:{(DQ )} spids:[710])]
                      spids: [710]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [(assign_pair lhs:(LhsName name:last) op:Equal rhs:{(DQ )} spids:[715])]
                      spids: [715]
                    )
                    (Case
                      to_match: {($ VSub_Name "$type")}
                      arms: [
                        (case_arm
                          pat_list: [{(Lit_Other "%") (keywords)}]
                          action: [
                            (Case
                              to_match: {($ VSub_Number "$1")}
                              arms: [
                                (case_arm
                                  pat_list: [{(DQ )}]
                                  action: [
                                    (SimpleCommand
                                      words: [
                                        {(echo)}
                                        {
                                          (DQ ($ VSub_Name "$command") (": ") (${ VSub_Name err_file) 
                                            ("line ") ($ VSub_Name "$err_line") (": ") ($ VSub_Name "$type") (" table name omitted")
                                          )
                                        }
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_GreatAnd
                                          fd: -1
                                          arg_word: {(2)}
                                          spids: [758]
                                        )
                                      ]
                                    )
                                    (C {(exit)} {(1)})
                                  ]
                                  spids: [-1 741 767 -1]
                                )
                              ]
                              spids: [732 736 770]
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:name)
                                  op: Equal
                                  rhs: {($ VSub_Number "$1")}
                                  spids: [773]
                                )
                              ]
                              spids: [773]
                            )
                            (C {(shift)})
                            (If
                              arms: [
                                (if_arm
                                  cond: [(C {(test)} {($ VSub_Name "$table")} {(Lit_Other "=")} {(1)})]
                                  action: [
                                    (C {(echo)} {(DQ ($ VSub_Name "$name")) (SQ <"[] =">)})
                                    (C {(echo)} {(DQ ("{"))})
                                  ]
                                  spids: [-1 791]
                                )
                              ]
                              spids: [-1 810]
                            )
                          ]
                          spids: [727 729 813 -1]
                        )
                      ]
                      spids: [720 724 816]
                    )
                    (C {(eval)} {(DQ ($ VSub_At "$@"))})
                    (Case
                      to_match: {($ VSub_Name "$init")}
                      arms: [
                        (case_arm
                          pat_list: [{(DQ )}]
                          action: [
                            (Case
                              to_match: {($ VSub_Name "$type")}
                              arms: [
                                (case_arm
                                  pat_list: [{(Lit_Other "%") (flags)} {(Lit_Other "%") (sequence)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:init)
                                          op: Equal
                                          rhs: {(0)}
                                          spids: [852]
                                        )
                                      ]
                                      spids: [852]
                                    )
                                  ]
                                  spids: [844 849 856 -1]
                                )
                                (case_arm
                                  pat_list: [{(Lit_Other "*")}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:init)
                                          op: Equal
                                          rhs: {(1)}
                                          spids: [862]
                                        )
                                      ]
                                      spids: [862]
                                    )
                                  ]
                                  spids: [859 860 866 -1]
                                )
                              ]
                              spids: [837 841 869]
                            )
                          ]
                          spids: [-1 835 872 -1]
                        )
                      ]
                      spids: [826 830 875]
                    )
                    (Case
                      to_match: {($ VSub_Name "$index")}
                      arms: [
                        (case_arm
                          pat_list: [{(DQ )}]
                          action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:counter)
                                  op: Equal
                                  rhs: {($ VSub_Name "$init")}
                                  spids: [889]
                                )
                              ]
                              spids: [889]
                            )
                          ]
                          spids: [-1 887 893 -1]
                        )
                        (case_arm
                          pat_list: [{(Lit_Other "*")}]
                          action: [
                            (C {(eval)} 
                              {(Lit_VarLike "value=") 
                                (EscapedLiteralPart
                                  token: <Lit_EscapedChar "\\$">
                                ) ($ VSub_Name "$index")
                              }
                            )
                            (Case
                              to_match: {($ VSub_Name "$value")}
                              arms: [
                                (case_arm
                                  pat_list: [{(DQ )}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:counter)
                                          op: Equal
                                          rhs: {($ VSub_Name "$init")}
                                          spids: [917]
                                        )
                                      ]
                                      spids: [917]
                                    )
                                  ]
                                  spids: [-1 915 920 -1]
                                )
                                (case_arm
                                  pat_list: [
                                    {(Lit_Other "[") (0123456789) (Lit_Other "]") (Lit_Other "*")}
                                  ]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:counter)
                                          op: Equal
                                          rhs: {($ VSub_Name "$value")}
                                          spids: [929]
                                        )
                                      ]
                                      spids: [929]
                                    )
                                  ]
                                  spids: [923 927 932 -1]
                                )
                              ]
                              spids: [906 910 935]
                            )
                          ]
                          spids: [896 897 938 -1]
                        )
                      ]
                      spids: [878 882 941]
                    )
                    (Case
                      to_match: {($ VSub_Name "$define") (Lit_Other ":") ($ VSub_Name "$first")}
                      arms: [
                        (case_arm
                          pat_list: [{(1) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}]
                          action: [
                            (C {(echo)} 
                              {
                                (DQ ("#define ") ($ VSub_Name "$prefix") ($ VSub_Name "$first") ("\t") 
                                  ($ VSub_Name "$counter")
                                )
                              }
                            )
                          ]
                          spids: [953 957 969 -1]
                        )
                      ]
                      spids: [944 950 972]
                    )
                  ]
                  spids: [478 486 975 -1]
                )
                (case_arm
                  pat_list: [{(Lit_Other "%") (Lit_Other "*")}]
                  action: [
                    (SimpleCommand
                      words: [
                        {(echo)}
                        {
                          (DQ ($ VSub_Name "$command") (": ") (${ VSub_Name err_file) ("line ") 
                            ($ VSub_Name "$err_line") (": ") ($ VSub_Number "$1") (": unknown keyword")
                          )
                        }
                      ]
                      redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[997])]
                    )
                    (C {(exit)} {(1)})
                  ]
                  spids: [978 980 1006 -1]
                )
                (case_arm
                  pat_list: [{(Lit_Other "*")}]
                  action: [
                    (While
                      cond: [(C {(Lit_Other ":")})]
                      body: 
                        (DoGroup
                          children: [
                            (Case
                              to_match: {($ VSub_Number "$1")}
                              arms: [
                                (case_arm
                                  pat_list: [{(DQ )}]
                                  action: [(ControlFlow token:<ControlFlow_Break break>)]
                                  spids: [-1 1028 1033 -1]
                                )
                                (case_arm
                                  pat_list: [{(Lit_Other "*")}]
                                  action: [
                                    (Case
                                      to_match: {($ VSub_Name "$shell")}
                                      arms: [
                                        (case_arm
                                          pat_list: [{(ksh)}]
                                          action: [
                                            (Assignment
                                              keyword: Assign_None
                                              pairs: [
                                                (assign_pair
                                                  lhs: (LhsName name:ID)
                                                  op: Equal
                                                  rhs: 
                                                    {
                                                      (BracedVarSub
                                                        token: <VSub_Number 1>
                                                        suffix_op: 
                                                          (StringUnary
                                                            op_id: VOp1_Pound
                                                            arg_word: 
                                                              {
                                                                (
"[!abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]"
                                                                )
                                                              }
                                                          )
                                                        spids: [1050 1054]
                                                      )
                                                    }
                                                  spids: [1049]
                                                )
                                              ]
                                              spids: [1049]
                                            )
                                          ]
                                          spids: [1046 1047 1056 -1]
                                        )
                                        (case_arm
                                          pat_list: [{(Lit_Other "*")}]
                                          action: [
                                            (Assignment
                                              keyword: Assign_None
                                              pairs: [
                                                (assign_pair
                                                  lhs: (LhsName name:ID)
                                                  op: Equal
                                                  rhs: 
                                                    {
                                                      (CommandSubPart
                                                        command_list: 
                                                          (CommandList
                                                            children: [
                                                              (Pipeline
                                                                children: [
                                                                  (C {(echo)} {($ VSub_Number "$1")})
                                                                  (C {(tr)} 
                                                                    {(abcdefghijklmnopqrstuvwxyz)} {(ABCDEFGHIJKLMNOPQRSTUVWXYZ)}
                                                                  )
                                                                  (C {(sed)} 
                                                                    {
                                                                      (SQ 
                                                                        <
"s/^[^ABCDEFGHIJKLMNOPQRSTUVWXYZ_]//"
                                                                        >
                                                                      )
                                                                    }
                                                                  )
                                                                ]
                                                                negated: False
                                                              )
                                                            ]
                                                          )
                                                        left_token: <Left_Backtick "`">
                                                        spids: [1063 1083]
                                                      )
                                                    }
                                                  spids: [1062]
                                                )
                                              ]
                                              spids: [1062]
                                            )
                                          ]
                                          spids: [1059 1060 1085 -1]
                                        )
                                      ]
                                      spids: [1039 1043 1088]
                                    )
                                    (Case
                                      to_match: {($ VSub_Name "$type")}
                                      arms: [
                                        (case_arm
                                          pat_list: [{(Lit_Other "%") (flags)}]
                                          action: [
                                            (If
                                              arms: [
                                                (if_arm
                                                  cond: [
                                                    (C {(test)} {($ VSub_Name "$define")} 
                                                      {(Lit_Other "=")} {(1)}
                                                    )
                                                  ]
                                                  action: [
                                                    (Case
                                                      to_match: {($ VSub_Name "$counter")}
                                                      arms: [
                                                        (case_arm
                                                          pat_list: [{(32)}]
                                                          action: [
                                                            (SimpleCommand
                                                              words: [
                                                                {(echo)}
                                                                {
                                                                  (DQ ($ VSub_Name "$command") (": ") 
                                                                    (${ VSub_Name err_file) ("line ") ($ VSub_Name "$err_line") (": warning: ") ($ VSub_Number "$1") (": too many flag bits")
                                                                  )
                                                                }
                                                              ]
                                                              redirects: [
                                                                (Redir
                                                                  op_id: Redir_GreatAnd
                                                                  fd: -1
                                                                  arg_word: {(2)}
                                                                  spids: [1140]
                                                                )
                                                              ]
                                                            )
                                                          ]
                                                          spids: [1122 1123 1143 -1]
                                                        )
                                                        (case_arm
                                                          pat_list: [
                                                            {(1) (Lit_Other "[") (56789) 
                                                              (Lit_Other "]")
                                                            }
                                                            {(Lit_Other "[") (23) (Lit_Other "]") 
                                                              (Lit_Other "[") (0123456789) (Lit_Other "]")
                                                            }
                                                          ]
                                                          action: [
                                                            (Assignment
                                                              keyword: Assign_None
                                                              pairs: [
                                                                (assign_pair
                                                                  lhs: (LhsName name:long)
                                                                  op: Equal
                                                                  rhs: {(L)}
                                                                  spids: [1159]
                                                                )
                                                              ]
                                                              spids: [1159]
                                                            )
                                                          ]
                                                          spids: [1146 1157 1162 -1]
                                                        )
                                                        (case_arm
                                                          pat_list: [{(Lit_Other "*")}]
                                                          action: [
                                                            (Assignment
                                                              keyword: Assign_None
                                                              pairs: [
                                                                (assign_pair
                                                                  lhs: (LhsName name:long)
                                                                  op: Equal
                                                                  rhs: {(SQ )}
                                                                  spids: [1168]
                                                                )
                                                              ]
                                                              spids: [1168]
                                                            )
                                                          ]
                                                          spids: [1165 1166 1170 -1]
                                                        )
                                                      ]
                                                      spids: [1115 1119 1173]
                                                    )
                                                    (C {(echo)} 
                                                      {
                                                        (DQ ("#define ") ($ VSub_Name "$prefix") 
                                                          ($ VSub_Name "$ID") ("\t(1") ($ VSub_Name "$long") ("<<") ($ VSub_Name "$counter") (")")
                                                        )
                                                      }
                                                    )
                                                  ]
                                                  spids: [-1 1113]
                                                )
                                              ]
                                              spids: [-1 1190]
                                            )
                                          ]
                                          spids: [1098 1100 1193 -1]
                                        )
                                        (case_arm
                                          pat_list: [{(Lit_Other "%") (keywords)}]
                                          action: [
                                            (If
                                              arms: [
                                                (if_arm
                                                  cond: [
                                                    (C {(test)} {($ VSub_Name "$define")} 
                                                      {(Lit_Other "=")} {(1)}
                                                    )
                                                  ]
                                                  action: [
                                                    (C {(echo)} 
                                                      {
                                                        (DQ ("#define ") ($ VSub_Name "$prefix") 
                                                          ($ VSub_Name "$ID") ("\t") ($ VSub_Name "$counter")
                                                        )
                                                      }
                                                    )
                                                  ]
                                                  spids: [-1 1212]
                                                )
                                              ]
                                              spids: [-1 1225]
                                            )
                                            (If
                                              arms: [
                                                (if_arm
                                                  cond: [
                                                    (C {(test)} {($ VSub_Name "$table")} 
                                                      {(Lit_Other "=")} {(1)}
                                                    )
                                                  ]
                                                  action: [
                                                    (C {(echo)} 
                                                      {
                                                        (DQ ("\t") 
                                                          (EscapedLiteralPart
                                                            token: <Lit_EscapedChar "\\\"">
                                                          ) ($ VSub_Number "$1") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (",\t") ($ VSub_Name "$prefix") 
                                                          ($ VSub_Name "$ID") (",")
                                                        )
                                                      }
                                                    )
                                                  ]
                                                  spids: [-1 1239]
                                                )
                                              ]
                                              spids: [-1 1255]
                                            )
                                          ]
                                          spids: [1196 1198 1258 -1]
                                        )
                                        (case_arm
                                          pat_list: [{(Lit_Other "%") (sequence)}]
                                          action: [
                                            (If
                                              arms: [
                                                (if_arm
                                                  cond: [
                                                    (C {(test)} {($ VSub_Name "$define")} 
                                                      {(Lit_Other "=")} {(1)}
                                                    )
                                                  ]
                                                  action: [
                                                    (C {(echo)} 
                                                      {
                                                        (DQ ("#define ") ($ VSub_Name "$prefix") 
                                                          ($ VSub_Name "$ID") ("\t") ($ VSub_Name "$counter")
                                                        )
                                                      }
                                                    )
                                                  ]
                                                  spids: [-1 1277]
                                                )
                                              ]
                                              spids: [-1 1290]
                                            )
                                          ]
                                          spids: [1261 1263 1293 -1]
                                        )
                                      ]
                                      spids: [1091 1095 1296]
                                    )
                                    (Case
                                      to_match: {($ VSub_Name "$shell")}
                                      arms: [
                                        (case_arm
                                          pat_list: [{(ksh)}]
                                          action: [
                                            (DParen
                                              child: 
                                                (BinaryAssign
                                                  op_id: Arith_Equal
                                                  left: (LhsName name:counter)
                                                  right: 
                                                    (ArithBinary
                                                      op_id: Arith_Plus
                                                      left: (ArithVarRef name:counter)
                                                      right: (ArithWord w:{(Lit_Digits 1)})
                                                    )
                                                )
                                            )
                                          ]
                                          spids: [1306 1307 1318 -1]
                                        )
                                        (case_arm
                                          pat_list: [{(Lit_Other "*")}]
                                          action: [
                                            (Assignment
                                              keyword: Assign_None
                                              pairs: [
                                                (assign_pair
                                                  lhs: (LhsName name:counter)
                                                  op: Equal
                                                  rhs: 
                                                    {
                                                      (CommandSubPart
                                                        command_list: 
                                                          (CommandList
                                                            children: [
                                                              (C {(expr)} {($ VSub_Name "$counter")} 
                                                                {(Lit_Other "+")} {(1)}
                                                              )
                                                            ]
                                                          )
                                                        left_token: <Left_Backtick "`">
                                                        spids: [1325 1333]
                                                      )
                                                    }
                                                  spids: [1324]
                                                )
                                              ]
                                              spids: [1324]
                                            )
                                          ]
                                          spids: [1321 1322 1335 -1]
                                        )
                                      ]
                                      spids: [1299 1303 1338]
                                    )
                                    (C {(shift)})
                                  ]
                                  spids: [1036 1037 1344 -1]
                                )
                              ]
                              spids: [1019 1023 1347]
                            )
                          ]
                          spids: [1017 1350]
                        )
                    )
                  ]
                  spids: [1009 1010 1353 -1]
                )
              ]
              spids: [464 468 1356]
            )
          ]
          spids: [294 1358]
        )
    )
    (Case
      to_match: {($ VSub_Name "$define") (Lit_Other ":") ($ VSub_Name "$last")}
      arms: [
        (case_arm
          pat_list: [{(1) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}]
          action: [
            (Case
              to_match: {($ VSub_Name "$shell")}
              arms: [
                (case_arm
                  pat_list: [{(ksh)}]
                  action: [
                    (DParen
                      child: 
                        (BinaryAssign
                          op_id: Arith_Equal
                          left: (LhsName name:n)
                          right: 
                            (ArithBinary
                              op_id: Arith_Minus
                              left: (ArithVarRef name:counter)
                              right: (ArithWord w:{(Lit_Digits 1)})
                            )
                        )
                    )
                  ]
                  spids: [1381 1382 1393 -1]
                )
                (case_arm
                  pat_list: [{(Lit_Other "*")}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:n)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [(C {(expr)} {($ VSub_Name "$counter")} {(-)} {(1)})]
                                  )
                                left_token: <Left_Backtick "`">
                                spids: [1400 1408]
                              )
                            }
                          spids: [1399]
                        )
                      ]
                      spids: [1399]
                    )
                  ]
                  spids: [1396 1397 1410 -1]
                )
              ]
              spids: [1374 1378 1413]
            )
            (C {(echo)} 
              {
                (DQ ("#define ") ($ VSub_Name "$prefix") ($ VSub_Name "$last") ("\t") ($ VSub_Name "$n"))
              }
            )
          ]
          spids: [1368 1372 1427 -1]
        )
      ]
      spids: [1360 1366 1429]
    )
    (Case
      to_match: {($ VSub_Name "$type")}
      arms: [
        (case_arm
          pat_list: [{(Lit_Other "%") (keywords)}]
          action: [
            (If
              arms: [
                (if_arm
                  cond: [(C {(test)} {($ VSub_Name "$table")} {(Lit_Other "=")} {(1)})]
                  action: [(C {(echo)} {(DQ ("\t0,\t0"))}) (C {(echo)} {(DQ ("};"))})]
                  spids: [-1 1453]
                )
              ]
              spids: [-1 1469]
            )
          ]
          spids: [1437 1439 1472 -1]
        )
      ]
      spids: [1431 1435 1474]
    )
    (C {(exit)} {(0)})
  ]
)