diff --git a/simplecpp.cpp b/simplecpp.cpp index a3ca6916..4898800f 100644 --- a/simplecpp.cpp +++ b/simplecpp.cpp @@ -2318,9 +2318,6 @@ namespace simplecpp { const Token *nextTok = B->next; if (canBeConcatenatedStringOrChar) { - if (unexpectedA) - throw invalidHashHash::unexpectedToken(tok->location, name(), A); - // It seems clearer to handle this case separately even though the code is similar-ish, but we don't want to merge here. // TODO The question is whether the ## or varargs may still apply, and how to provoke? if (expandArg(tokensB, B, parametertokens)) {