Syntax Error on line 0

Unknown error concerning the definition of subroutine postauto1.

Edit the Settings File for testcase

For the sake of debugging, here is the full GAME Code program that this error occurred in. The lines have been properly indented to help you spot scope errors.

   0 sub postauto1
   1   if equal moved R
   2     add B_y dest
   3   endif
   4   if equal moved B_y
   5     add NN dest
   6   endif
   7   if equal moved NN
   8     add .BW dest
   9     if equal moved .BW
  10       add R dest
  11       if equal moved r
  12         add B_lb dest
  13       endif
  14       if equal moved B_lb
  15         add nn dest
  16       endif
  17       if equal moved nn
  18         add .bw dest
  19       endif
  20       if equal moved .bw
  21         add r dest
  22       endif
  23     endsub
  24     sub postauto2
  25       if equal moved r
  26         add B_lb dest
  27       endif
  28       if equal moved B_lb
  29         add nn dest
  30       endif
  31       if equal moved nn
  32         add .bw dest
  33       endif
  34       if equal moved .bw
  35         add r dest
  36       endif
  37       if equal moved m
  38         add q dest
  39       endif
  40       if equal moved q
  41         add _MLV_si dest
  42       endif
  43       if equal moved _MLV_si
  44         add aa dest
  45       endif
  46       if equal moved aa
  47         add m dest
  48       endif
  49       if equal moved n
  50         add b dest
  51       endif
  52       if equal moved b
  53         add gu dest
  54       endif
  55       if equal moved gu
  56         add .ew dest
  57       endif
  58       if equal moved .ew
  59         add n dest
  60       endif
  61       if equal moved a
  62         add .ngu dest
  63       endif
  64       if equal moved .ngu
  65         add sl dest
  66       endif
  67       if equal moved sl
  68         add _JG_.ndf dest
  69       endif
  70       if equal moved _JG_.ndf
  71         add a dest
  72       endif
  73       if equal moved o
  74         add _AS_.rob dest
  75       endif
  76       if equal moved _AS_.rob
  77         add _JG_ha dest
  78       endif
  79       if equal moved _JG_ha
  80         add cr dest
  81       endif
  82       if equal moved cr
  83         add o dest
  84       endif
  85       if equal moved spw
  86         add lae dest
  87       endif
  88       if equal moved lae
  89         add spf dest
  90       endif
  91       if equal moved spf
  92         add lad dest
  93       endif
  94       if equal moved lad
  95         add spw dest
  96       endif
  97       if equal moved f
  98         add !b dest
  99       endif
 100       if equal moved !b
 101         add w dest
 102       endif
 103       if equal moved w
 104         add !drl dest
 105       endif
 106       if equal moved !drl
 107         add f dest
 108       endif
 109     endsub
 110     end
 111     

functions

uservar

Array ( [0] => Array ( [main] => Array ( ) ) )

mline

Array ( [0] => MoveLine Object ( [movenum] => 0 [move] => [level] => 0 [comment] => [length] => 0 [newturn] => [turn] => 0 ) )

allmoves

Array ( )

movelist

constants

Array