mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 16:33:19 +00:00
da65: properly scan empty strings
Previously, doing something like `LABEL { NAME ""; ADDR $1000; };` would result in $1000 being labeled as NAME: instead of being unnamed.
This commit is contained in:
parent
f11ae87ada
commit
0149de4da7
@ -413,6 +413,7 @@ Again:
|
||||
case '\"':
|
||||
NextChar ();
|
||||
I = 0;
|
||||
InfoSVal[0] = '\0';
|
||||
while (C != EOF && C != '\"') {
|
||||
if (GetEncodedChar (InfoSVal, &I, sizeof InfoSVal) < 0) {
|
||||
if (C == EOF) {
|
||||
|
Loading…
Reference in New Issue
Block a user