From: David E. <de...@us...> - 2010-01-12 23:14:35
|
John Culleton wrote: > Both 65 and 65.5 generate errors on my system: > ------------------------------------------------ > htcobol.y:2093.7-8: $$ for the midrule at $6 of `search' has no declared type > htcobol.y:2933.7-8: $$ for the midrule at $2 of `on_end' has no declared type > htcobol.y:3237.10-11: $$ for the midrule at $2 of `on_size_error' has no > declared type > htcobol.y:3240.9-10: $$ for the midrule at $2 of `on_size_error' has no > declared type > make[1]: *** [htcobol.tab.c] Error 1 > -------------------------------------------------------- > any suggestions? I can't duplicate the problem on my development system, but this looks like another Bison problem. I prefer to develop TC using a special version (1.9.3) of Berkeley's YACC, which allows for large grammars, such as COBOL. Until I find a fix for this problem, I would suggest using Berkeley's YACC version 1.9.3 (1). Just configure TC with the 'with-yacc' option. Example: ./configure --with-yacc=yacc193 You can get the source, and a MinGW binary, of this version of Berkeley's YACC (1) on the TC download area at SF. Hope this helps. 1) TC misc - yacc-1.9.3-1.tar.gz http://sourceforge.net/projects/tiny-cobol/files/ http://sourceforge.net/projects/tiny-cobol/files/misc/yacc-1.9.3-1.tar.gz/download |