Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!think!bloom-beacon!mit-eddie!uw-beaver!ubc-cs!alberta!dvinci!qcc-hal!andrew From: andrew@qcc-hal.UUCP (Andrew R. Kostiuk) Newsgroups: comp.sources.bugs Subject: Problem with Flex and QNX Message-ID: <598@qcc-hal.UUCP> Date: 25 Aug 89 16:33:03 GMT Reply-To: andrew@qcc-hal.UUCP (Andrew Kostiuk) Distribution: na Organization: QCC Communications Corporation, Saskatoon SK Canada Lines: 26 Hi: I am trying to port Flex to the QNX Operating System ("UNIX-like" O/S for PCs) and am having some problem. QNX (in its infinite wisdom) has decided to use the 0x1E character as a new-line as opposed to the standard 0x0A. This I believe caused Flex to decide that there is an illegal character in the input and the scanner "jammed". After poking around in Flex, I think the "problem" in in the "Equivalent Class" array used to map input characters to equvalent classes. Unfortunately this array is generated by flex itself (as opposed to being hardcoded) and it is not obvious how to "fix" this for the QNX environment. Are there any Flex Gurus out there you have any suggestions? Many thanks it advance. +---------------------------------------------------------------------+ | +--------------+ Andrew R. Kostiuk #4 - 2345 Avenue C North | | | Q C C | M.Sc., P.Eng. Saskatoon, SK. | | |COMMUNICATIONS| Systems Engineer CANADA S7L 5Z5 | | | CORPORATION | Tel.: (306)665-6488 Fax.: (306)665-9936 | | +--------------+ uucp: alberta!dvinci!qcc-hal!andrew | +---------------------------------------------------------------------+