check in yacc and lex products