mirror of
https://github.com/cc65/cc65.git
synced 2025-02-06 12:31:12 +00:00
When replaying a token list, be sure to zero terminate the string attribute of
a token. git-svn-id: svn://svn.cc65.org/cc65/trunk@4900 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
a2ec97ac13
commit
d60c627cb6
@ -6,7 +6,7 @@
|
|||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* (C) 1998-2008, Ullrich von Bassewitz */
|
/* (C) 1998-2010, Ullrich von Bassewitz */
|
||||||
/* Roemerstrasse 52 */
|
/* Roemerstrasse 52 */
|
||||||
/* D-70794 Filderstadt */
|
/* D-70794 Filderstadt */
|
||||||
/* EMail: uz@cc65.org */
|
/* EMail: uz@cc65.org */
|
||||||
@ -93,6 +93,7 @@ void TokSet (TokNode* T)
|
|||||||
WS = T->WS;
|
WS = T->WS;
|
||||||
IVal = T->IVal;
|
IVal = T->IVal;
|
||||||
SB_Copy (&SVal, &T->SVal);
|
SB_Copy (&SVal, &T->SVal);
|
||||||
|
SB_Terminate (&SVal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user