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:
@@ -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 ();
|
||||||
|
Reference in New Issue
Block a user