1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 06:25:17 +00:00

Merge pull request #2491 from kugelfuhr/kugelfuhr/fix-2431

Fix issue #2431
This commit is contained in:
Bob Andrews
2024-09-01 19:35:32 +02:00
committed by GitHub

View File

@@ -1267,7 +1267,7 @@ static int CloseBrace (Collection* C, token_t Tok)
*/ */
{ {
if (CollCount (C) > 0) { if (CollCount (C) > 0) {
token_t LastTok = (token_t)CollLast (C); token_t LastTok = (token_t)(intptr_t)CollLast (C);
if (LastTok == Tok) { if (LastTok == Tok) {
CollPop (C); CollPop (C);
NextToken (); NextToken ();