Syntax error on line 5: Loss of ';'.
    type main_t : record {
