Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!purdue!decwrl!labrea!csli!gandalf
From: gandalf@csli.STANFORD.EDU (Juergen Wagner)
Newsgroups: comp.lang.c
Subject: Re: how widespread is this cpp bug?
Keywords: cpp whitespace bug
Message-ID: <6625@csli.STANFORD.EDU>
Date: 1 Dec 88 05:04:54 GMT
References: <49179@pyramid.pyramid.com>
Reply-To: wagner@arisia.xerox.com (Juergen Wagner)
Organization: Center for the Study of Language and Information, Stanford U.
Lines: 28

Sun4 (SunOS 4.0):		bug!
HP 9000/320 (HP-UX 6.0):	bug!
VAX 8700 (Ultrix):		bug!

So I tried one of our old TOPS-20 machines, which happily reported
    Error at main+4, line 6 of x.c:
      prin/*comment*/tf(
    Undefined symbol: "prin"

    Error at main+4, line 6 of x.c:
      prin/*comment*/tf(
    Expected token (semicolon) not found

    Error at main+6, line 8 of x.c:
      proc/**/VERSION
    Undefined symbol: "proc"

    Error at main+6, line 8 of x.c:
      proc/**/VERSION
    Expected token (semicolon) not found
    ?4 error(s) detected

People relying on this bug should change their habits. There are better ways
to concatenate tokens.

-- 
Juergen Wagner		   			gandalf@csli.stanford.edu
						 wagner@arisia.xerox.com