This one bit me today

Norman Diamond diamond at csl.sony.co.jp
Wed Oct 25 13:49:34 AEST 1989


In article <41019 at bu-cs.BU.EDU> austin at bucsf.bu.edu (Austin Ziegler) writes:
>In Pascal, one of the nicest features for debugging is nested comments.

Sounds like your Pascal compiler is just as badly broken as your C
compiler.  Any pseudo-compiler that reads pseudo-Pascal source but likes
nested comments is not a Pascal compiler, just as with C.
Take your choice; read the old Pascal standard or the new Extended
Pascal standard.  Comments do not nest.

-- 
Norman Diamond, Sony Corp. (diamond%ws.sony.junet at uunet.uu.net seems to work)
  Should the preceding opinions be caught or     |  James Bond asked his
  killed, the sender will disavow all knowledge  |  ATT rep for a source
  of their activities or whereabouts.            |  licence to "kill".



More information about the Comp.lang.c mailing list