Bugzilla – Attachment 172 Details for
Bug 193
.equr re-engineering
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for disabled code
0001-Addendum-for-193-Do-less-tokenisation-processing-whe.patch (text/plain), 926 bytes, created by
ggn
on 2022-04-17 01:58:39 CDT
(
hide
)
Description:
Fix for disabled code
Filename:
MIME Type:
Creator:
ggn
Created:
2022-04-17 01:58:39 CDT
Size:
926 bytes
patch
obsolete
>From adae20c91b70ce2975509b65dca5a1ec30650b89 Mon Sep 17 00:00:00 2001 >From: ggn <ggn@atari.org> >Date: Sun, 17 Apr 2022 09:48:35 +0300 >Subject: [PATCH] Addendum for #193: Do less tokenisation processing when > inside a disabled code block > >--- > token.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/token.c b/token.c >index ed0785c..89c7f0a 100644 >--- a/token.c >+++ b/token.c >@@ -1221,7 +1221,7 @@ DEBUG { printf("TokenizeLine: Calling fpop() from SRC_IFILE...\n"); } > { > // Only proceed if no equrundef has been detected. In that case we need to store the symbol > // because the directive handler (d_equrundef) will run outside this loop, further into procln.c >- if (!equrundef) >+ if (!equrundef && !disabled) > { > // Last attempt: let's see if this is an equated register. > // If yes, then just store the register's keyword value instead of the symbol >-- >2.33.0.windows.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 193
:
167
| 172