C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: When is an expression not an expression?
From: language.lawyer_at_[hidden]
Date: 2019-09-22 15:23:10


On 22/09/2019 20:04, Andrew Schepler via Std-Discussion wrote:
> For a possible fix, maybe rename the non-terminal grammar symbols to
> "general-expression" and "general-declaration". Then define "expression" to
> mean an instance of any grammar symbol with symbol name ending in
> "-expression", or actually list all of them (about 25?). And define
> "declaration" to be a general-declaration, member-declaration,
> declaration-statement, parameter-declaration, or exception-declaration.
> Except for these two definitions, and in actual grammar rules, almost all
> instances of the words "expression" and "declaration" should no longer be
> in italics.

http://wg21.link/p1787 is a fix for declaration issues.


STD-DISCUSSION list run by herb.sutter at gmail.com

Older Archives on Google Groups