|DJGPP flex247.exe vs flex238.exe - generated lexer hanging. Jeremy_Norbury.LAX1B@xerox.com (1994-10-06)|
|Re: DJGPP flex247.exe vs flex238.exe - generated lexer hanging. firstname.lastname@example.org (1994-10-11)|
|From:||email@example.com (Robert Mayer - Student)|
|Organization:||University of Vienna|
|Date:||Tue, 11 Oct 1994 12:21:21 GMT|
It seems to me that your problem is not that flex247.exe produces a bad
lexyy.c but that flex (no matter what version) needs a lot of stack space.
If you compile flex with a DOS-real mode compiler you probably have to
increase the stack size. BorlandC allocates a stack of 4k by default, which
is not enough. Try compiling with -N switch (stack overflow checking) and
you can find out if I'm right. To increase the stack size with BorlandC you
extern unsigned _stksize = 16384;
in one of the source files, and everything should be ok.
Hope this helps,
Return to the
Search the comp.compilers archives again.