PP: Fix #1694: Rationalize errors on partially expanded macro argument.
This commit is contained in:
parent
da1be9a322
commit
6fee94460f
9 changed files with 58 additions and 9 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue