A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cplusplus/draft/issues/4903 below:

[lex.phases] p2 Any Splice's deleting is firstly taken place CWG2747 · Issue #4903 · cplusplus/draft · GitHub

[lex.phases] p2

Each sequence of a backslash character () immediately followed by zero or more whitespace characters other than new-line followed by a new-line character is deleted, splicing physical source lines to form logical source lines. Only the last backslash on any physical source line shall be eligible for being part of such a splice. Except for splices reverted in a raw string literal, if a splice results in a character sequence that matches the syntax of a universal-character-name, the behavior is undefined. A source file that is not empty and that does not end in a new-line character, or that ends in a splice, shall be processed as if an additional new-line character were appended to the file.

"splice" is newly introduced by p2223r2. Presumably, it refers to any sequence of a backslash character ( \ ) immediately followed by zero or more whitespace characters other than new-line followed by a new-line character? However, as the above rule specified, any such sequence is deleted firstly, which takes place prior to the emphasized part. Should we say

A source file that is not empty and that does not end in a new-line character, or that ends in a splice before any such splicing takes place, shall be processed as if an additional new-line character were appended to the file.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4