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