打开控制台进入到需要编译的文件目录下
bison -d filename1.y flex filename2.l gcc filename1.tab.c lex.yy.c ./a.out
输入后按ctrl+d查看输出结果