fix compile errors in scanner.c, token.c