space to tab in ts_function.c