From: David E. <de...@us...> - 2009-01-14 13:36:40
|
Vince, I no longer maintain TC. In my view, resources would be better spent on GCC-COBOL (or what ever name ...). In any case, without the COBOL sources, I can only suggest ways on how to isolate the problem. So if you can isolate the problem, and assuming that the fix does not require a major re-write, I will try to update SF CVS with a fix. Vince Coen wrote: > Re: > TinyCOBOL pre-alpha 0.64.0 > > Just put a large M/F program through TC today but it goes into a loop after > outputing the source to fn.lis. All other files are at zero bytes. There are > no COPY verb processing as the source file has them included already. Sounds like a problem with a particular statement (infinite loop), or maybe a Bison issue (stall). How to isolate the problem: First check that the pre-processor output is valid and complete (use the '-t' or '-E' option). If the pre-processor output looks valid, then re-build TC using the following options. #make uninstall #make cleandist #./configure --prefix=/usr --enable-shared=no \ --enable-debug-compiler --with-yacc=yacc193 In the 'compiler/scan.l' file set '#define DEBUG_SCANNER 1'. #make #make install Run TC (htcobol fn.cob | tee trace.txt) and press Control-C to end. Hope this helps. PS: Note that the cause of the Bison stall problem is not known, but can be removed when TC is compiled with Berkeley's YACC (preferably version 1.9.3). |