Problem with Flex and QNX

Andrew R. Kostiuk andrew at qcc-hal.UUCP
Sat Aug 26 02:33:03 AEST 1989


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             |
+---------------------------------------------------------------------+



More information about the Comp.sources.bugs mailing list