Subject: Re: Header unit importation syntax
From: Maris Razvan (razvyboy2004_at_[hidden])
Date: 2019-08-23 16:41:03
I found the following commit
which introduced the pp-decl-suffix nonterminal, replacing pp-attrs.
Maybe the remaining tokens should be used for attributes.
On Sat, Aug 24, 2019 at 12:12 AM Maris Razvan <razvyboy2004_at_[hidden]> wrote:
> In the current C++ draft (august 2019), the grammar for a pp-import
> (http://eel.is/c++draft/cpp.import#nt:pp-import) allows for additional
> pp-tokens after the header-name or the header-name-tokens.
> The current version of that section is the result of P1703:
> "Recognizing Header Unit Imports Requires Full Preprocessing"
> Before the changes caused by this proposal, the grammar still allowed
> for preprocessing tokens tokens after the header-name or the
> header-name-tokens, but in the form of a pp-import-suffix. (section
> [cpp.module] of P1103
> What is the reasoning behind allowing additional, unused preprocessing
> tokens in this context?
> Thank you.
STD-DISCUSSION list run by herb.sutter at gmail.com
Older Archives on Google Groups