[comp.os.minix] CPP Was Re: Problems with MINIX-ST assembler files

klamer@mi.eltn.utwente.nl (Klamer Schutte) (06/03/91)

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