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:
parent
2c9c8ee196
commit
80fc8cd11e
@ -399,6 +399,8 @@ static void CopyQuotedString (StrBuf* Target)
|
||||
if (CurC != '\0') {
|
||||
SB_AppendChar (Target, CurC);
|
||||
NextChar ();
|
||||
} else {
|
||||
PPWarning ("Missing terminating %c character", Quote);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user