[comp.sys.mac.programmer] Flex on the mac

bwbecker@watdragon.waterloo.edu (Byron Weber Becker) (02/23/90)

I've downloaded flex to use under MPW, but am having trouble
getting it to work.  I've defined both MACINTOSH and MALLOC_BUFFERS
when compiling the .c output.

The trouble is the resulting scanner hangs several lines into
the file.  It seems to work if the only rules are constant
expressions, but give it something like [A-Za-z]+ and it hangs.

Does anyone have any clues for me?

Byron Weber Becker
bwbecker@watdragon.waterloo.edu