From acc26c0e7b20eef88011fd85b4af9eb8f562524f Mon Sep 17 00:00:00 2001 From: Daniel Serpell Date: Sat, 16 Aug 2025 22:28:32 -0400 Subject: [PATCH] When the scope is not found on ancestors, create on current scope. This solves comment https://github.com/cc65/cc65/pull/1358#issuecomment-3193961949 --- doc/ca65.sgml | 2 +- src/ca65/symbol.c | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/ca65.sgml b/doc/ca65.sgml index 019c808e9..90dc04d45 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -1320,7 +1320,7 @@ if you want to access the "other" symbol The above example also shows that to search a scope that is not yet defined in -the code above the usage, you must use the namespace token (