Article View: comp.sys.mac
Article #9663Re: YACC and LEX for Macs
From: Jan B. Andersen
Date: Mon, 15 Jan 1990 18:24
Date: Mon, 15 Jan 1990 18:24
12 lines
1016 bytes
1016 bytes
earleh@microsoft.UUCP (Earle HORTON) writes:
eh>Flex uses a hard-coded '\n' in numerous places to denote newline, and
eh>'\n' is equal to 10 in most non-weird C implementations. To make Flex
eh>work with Macintosh 'TEXT' files, either filter the input and output so
eh>that Flex sees an end of line as a '\n', or change Flex to use '\r'
eh>instead of '\n' everywhere.
Shouldn't '\n' be 'whatever-this-system-uses-to-seperate-textlines'?
Just curious...
Jan B. Andersen <jba@dat.ruc.dk> ("SIMULA does it with CLASS")
Technical Details
Message-ID:
<201@harald.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!dkuug!harald.ruc.dk!jbaReferences:
<1990Jan9.021314.5308@esegue.segue.boston.ma.us> <1990Jan10.021257.11269@esegue.segue.boston.ma.us> <10223@microsoft.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!dkuug!harald.ruc.dk!jba From: jba@harald.ruc.dk (Jan B. Andersen) Newsgroups: comp.sys.mac Subject: Re: YACC and LEX for Macs Message-ID: <201@harald.UUCP> Date: 15 Jan 90 18:24:36 GMT References: <1990Jan9.021314.5308@esegue.segue.boston.ma.us> <1990Jan10.021257.11269@esegue.segue.boston.ma.us> <10223@microsoft.UUCP> Organization: RUC - Roskilde University Center, Denmark Lines: 12