www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/07/20:15:55

From: sparhawk AT eunet DOT at (Gerhard Gruber)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Writing a simple compiler
Date: Wed, 08 Jul 1998 00:02:59 GMT
Organization: Customer of EUnet Austria
Lines: 25
Message-ID: <35a9b256.1807472@news.Austria.EU.net>
References: <359eebbc DOT 5439034 AT news DOT uow DOT edu DOT au> <35a720ea DOT 2211979 AT news DOT Austria DOT EU DOT net> <6nsfhf$g2j AT noxi DOT rz DOT fh-mannheim DOT de>
NNTP-Posting-Host: e055.dynamic.vienna.at.eu.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Destination: plugge AT biv7 DOT sr DOT fh-mannheim DOT de (Michel)
From: Gruber Gerhard
Group: comp.os.msdos.djgpp
Date: 7 Jul 1998 06:34:23 GMT:

>This is not done by the compiler, but rather by the preprocessor; the compiler
>would get the complete line #include <stdio.h>, (if this wasn't a preprocessor
>line).

Actually I do it in the preprocessing stuff. Just forgot to mention it. The
problem is the same, though. :)

>So it is no problem: for the preprocessor just write a pattern "\\\n" with no
>action code, and this will eat up the line breaks. Note that the preprocessor

OK. Thanks. I'll try this ASAP.

--
Bye,
   Gerhard

email: sparhawk AT eunet DOT at
       g DOT gruber AT sis DOT co DOT at

Spelling corrections are appreciated.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019