Article View: comp.std.c++
Article #656ARM grammar error?
From: Arthur Sombrito
Date: Wed, 11 Nov 1992 09:22
Date: Wed, 11 Nov 1992 09:22
11 lines
890 bytes
890 bytes
ARM grammar states that an assignment-expression IS
unary-expression assignment-operator assignment-expression
However I see a lot of commercial code (such as USL library) wherein
an assignment to a cast-expression is done. Since a cast-expression
cannot reduce to a unary-expression, my parser gets a syntax error
on the "=" operator. So shouldn't assignment-expression be
cast-expression assignment-operator assignment-expression
Thanks for any replies.
Technical Details
Message-ID:
<1992Nov11.092221.19750@nuscc.nus.sg>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!nuscc!arthurShow Full Headers
Complete Article Headers
Newsgroups: comp.std.c++ Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!nuscc!arthur From: arthur@solomon.technet.sg (Arthur Sombrito) Subject: ARM grammar error? Message-ID: <1992Nov11.092221.19750@nuscc.nus.sg> Sender: usenet@nuscc.nus.sg Organization: National University of Singapore X-Newsreader: TIN [version 1.1 PL6] Date: Wed, 11 Nov 1992 09:22:21 GMT Lines: 11