Date: Thu, 6 Oct 1994 11:26:41 PDT From: Jeremy_Norbury DOT LAX1B AT xerox DOT com Subject: DJGPP flex247.exe vs flex238.exe - generated lexer hanging. To: djgpp AT sun DOT soe DOT clarkson DOT edu Cc: gnu AT prep DOT ai DOT mit DOT edu, compilers AT iecc DOT com, vern AT ee DOT lbl DOT gov Importance: High I have a flex/yacc parser which I compile and run both on an RS/6000 AIX 3.2.5 and MSDOS. I use the pre-built MSDOS version in DJGPP ( flx2xxbn.zip ) for testing at home. About a month or so ago I went from flex 2.3.8 to 2.4.7 simply because it was the newest version. Everything went OK, ran flex on the parser.l, compiled and it ran fine under AIX. Yesterday, went to do this at home, using flex247.exe and the generated program, when compiled same as usual with Borland C++ 3.0 (large memory model) hangs my machine dead. I switched back to flex238.exe, everything OK. I compared the lexyy.c's generated and there are, obviously, differences. Nothing radical though. The parser.l file is 315 lines BTW, hardly huge. Does this ring any bells with anyone ? Anyone with the same/similar problem ? It should be noted that I can generate smaller flex programs without problems. This suggests some sort of memory problem. The source has Thanks Jeremy Norbury Xerox Corporation. Printing Systems Division. El Segundo, CA (310) 333 3370 jnorb DOT lax1b AT xerox DOT com