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