Syntax Error on line 1

Unknown error concerning the definition of subroutine postauto1.

Edit the Settings File for 1 Queen 1 Corpse Bride 1-Eyed Witch Rocky Horror Lycanthropic Vampyratical Zombiez Chess

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 alias M GU_y m GU_lb W _DT_WU w _DT_wu
   1 sub postauto1
   2   if equal moved R
   3     add B_y dest
   4   endif
   5   if equal moved B_y
   6     add R dest
   7   endif
   8   if equal moved r
   9     add B_lb dest
  10   endif
  11   if equal moved B_lb
  12     add r dest
  13   endif
  14   if equal moved p
  15     add x dest
  16   endif
  17   if equal moved x
  18     add p dest
  19   endif
  20   if equal moved P
  21     add X dest
  22   endif
  23   if equal moved X
  24     add P dest
  25   endif
  26   if equal moved b
  27     add gu dest
  28   endif
  29   if equal moved gu
  30     add b dest
  31   endif
  32   if equal moved B
  33     add GU dest
  34   endif
  35   if equal moved GU
  36     add B dest
  37   endif
  38   if equal moved N
  39     add .EW dest
  40   endif
  41   if equal moved .EW
  42     add N dest
  43   endif
  44   if equal moved n
  45     add .ew dest
  46   endif
  47   if equal moved .ew
  48     add n dest
  49   endif
  50   if equal moved ~vm~
  51     add nn dest
  52   endif
  53   if equal moved nn
  54     add ~vm~ dest
  55   endif
  56   if equal moved ~VM~
  57     add NN dest
  58   endif
  59   if equal moved NN
  60     add ~VM~ dest
  61   endsub
  62   end
  63   

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