摘要:
接前面的例子:程序中,调用Bison和Flex结合的小例子要做出存储语法树结构的全局变量: 1 [root@lex ~]# cd /soft/total 2 [root@lex total]# ls 3 lexer.l lex.yy.c myparser myparser.c myparser.h parser.y y.tab.c y.tab.h 4 [root@lex total]# cat myparser.h 5 typedef struct ABlock{ 6 int left; 7 int right; 8 }AB; 9 10 typedef struct MB... 阅读全文
posted @ 2013-05-18 17:18
健哥的数据花园
阅读(2386)
评论(0)
推荐(0)

浙公网安备 33010602011771号