[C++] Fix the error message for extraneous text after ifeq
2 files changed