但是,如果我正确读取它,它会为空源文件做一个显式异常,它们仍为空.
确切的文字(更加强调)是:
Each instance of a backslash character (
\
) immediately 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. If,as a result,a character sequence that matches the Syntax of a universal-character-name is produced,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 new-line character immediately preceded by a backslash character before any such splicing takes place,shall be processed as if an additional new-line character were appended to the file.
我无法弄清楚源文件是空的还是仅由换行符组成的任何情况都会产生影响.
我希望有人可以说明这一要求背后的原因.