update for object c
add bison and flex mode