🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #793

preprocessing

#793
From: Steven Kearns
Date: Mon, 21 Jan 1991 17:33
13 lines
778 bytes
Given:
#define one(a, b)  a b

What does "one((c,d), {c,d})" expand to?
If {} are considered parentheses, then arm 16.3 would suggest
"(c,d) {c,d}", otherwise I might expect an error because
it is interpreted as one("(c,d)", "{c", "d}").


********************************************************
* Steven Kearns            ....uunet!softrue!kearns    *
* Software Truth           softrue!kearns@uunet.uu.net *
********************************************************
Technical Details
Message-ID: <1.UUL1.3#8618@softrue.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!softrue!kearns

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!softrue!kearns
From: kearns@softrue.UUCP (Steven Kearns)
Newsgroups: comp.std.c++
Subject: preprocessing
Message-ID: <1.UUL1.3#8618@softrue.UUCP>
Date: 21 Jan 91 17:33:47 GMT
Organization: Software Truth
Lines: 13