🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Arthur Sombrito Wed, 11 Nov 1992 09:22
ARM grammar error?
#656
Author: Arthur Sombrito
Date: Wed, 11 Nov 1992 09:22
11 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads