Add switch clause to identify if there is cscope.