use yacc macro YYTOKENTYPE instead of YTOKEN
yacc add -de option to generate enum for token instead of define
add yytokentype type to ytab.h header file
use new -de option for yacc