yydebug is defined by yacc itself when -D is specified. defining yydebug yourself will lead to errors.