1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Added preprocessor warning on missing terminating characters of character/string literals.

This commit is contained in:
acqn 2022-07-26 21:10:36 +08:00
parent 2c9c8ee196
commit 80fc8cd11e

View File

@ -399,6 +399,8 @@ static void CopyQuotedString (StrBuf* Target)
if (CurC != '\0') {
SB_AppendChar (Target, CurC);
NextChar ();
} else {
PPWarning ("Missing terminating %c character", Quote);
}
}