Syntax error on line 3: Loss of '}'.
  type train_state_t = enum { far, near, in };
