Added preprocessor warning on missing terminating characters of character/string literals.
This commit is contained in:
@@ -399,6 +399,8 @@ static void CopyQuotedString (StrBuf* Target)
|
||||
if (CurC != '\0') {
|
||||
SB_AppendChar (Target, CurC);
|
||||
NextChar ();
|
||||
} else {
|
||||
PPWarning ("Missing terminating %c character", Quote);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user