PP: Fix #1694: Rationalize errors on partially expanded macro argument.

This commit is contained in:
John Kessenich 2019-02-16 07:35:13 -07:00
parent da1be9a322
commit 6fee94460f
9 changed files with 58 additions and 9 deletions

View file

@ -1056,7 +1056,7 @@ int TPpContext::tokenize(TPpToken& ppToken)
// Handle token-pasting logic
token = tokenPaste(token, ppToken);
if (token == EndOfInput || token == tMarkerInput::marker) {
if (token == EndOfInput) {
missingEndifCheck();
return EndOfInput;
}