🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #4697

Is this a compiler bug?

#4697
From: Robert Barton
Date: Tue, 07 Mar 1989 11:47
12 lines
1002 bytes
  Many thanks to all who responded via net or mail to my question about

    INC(CARDINAL(variableDeclaredAsBitset));

generating a "variable expected" error.  I suspected I was doing something
wrong, but I couldn't figure out what from the references I had at hand.
The explanation concerning l-values versus r-values makes sense.  A couple
people also provided the "virtual declaration" of INC() as a compiler sees
it.  It would be nice to have a list of these for the various standard
procedures if anyone could point me to one.  Thanks again for all the help
and suggestions.
Technical Details
Message-ID: <1741@psu-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!tektronix!reed!psu-cs!bartonr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!tektronix!reed!psu-cs!bartonr
From: bartonr@psu-cs.UUCP (Robert Barton)
Newsgroups: comp.lang.modula2
Subject: Is this a compiler bug?
Message-ID: <1741@psu-cs.UUCP>
Date: 7 Mar 89 11:47:14 GMT
Reply-To: bartonr@psu-cs.UUCP (Robert Barton)
Organization: Dept. of Computer Science, Portland State University; Portland OR
Lines: 12