在使用ANTLR时,我一直看到的一个问题是,在对包含大量数据的数组进行测试时,会出现最大递归深度错误。
产生错误的文件内容如下所示:
const unsigned char foo[] = {
99,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,
0,64,0,0,0,115,248,1,0,0,100,0,90,0,100,91,
90,1,100,92,90,2,101,2,101,1,23,0,90,3,100,4,
100,5,132,0,90,4,100,6,100,7,132,0,90,5,100,8,
100,9,132,0,