mirror of
https://github.com/cc65/cc65.git
synced 2025-08-14 14:26:27 +00:00
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