Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!utrcu1!mi.eltn.utwente.nl!klamer From: klamer@mi.eltn.utwente.nl (Klamer Schutte) Newsgroups: comp.os.minix Subject: CPP Was Re: Problems with MINIX-ST assembler files Message-ID: Date: 3 Jun 91 08:17:04 GMT References: <55243@nigel.ee.udel.edu> Sender: news@utrcu1.UUCP Organization: University of Twente, BSC-El Lines: 20 The problem CvW descibed was that CPP (the decus one) uses knowledge about its input, which was not valid. Especially, this was caused because CPP didn't know about the assembler comment convention. There are two solutions to this problem: 1) Let cpp know nothing about its input. This done by some old cpp's. This gives unallowed (by ansi) token pasting behaviour. 2) Let cpp know about the used comment convention. This means that it should be possible to specify this to the preprocessor. This is the situation with SunOs cpp, where you can give the C++ comment convention as an option. I think that 2) should be applied to decus cpp. This is the way to adapt an cpp to anything but C. Klamer. -- Klamer Schutte Tel: +31-53-892786 Fax: +31-53-340045 Faculty of electrical engineering -- University of Twente, The Netherlands preferred: klamer@mi.eltn.utwente.nl SMTP: klamer@utelmi01.el.utwente.nl