error for missing closing square bracket now working
made boom passing through semantical analysis as last lexeme