moved toplevel_semi_dex to the lexer_fun definition