From: ggn Date: Sun, 17 Apr 2022 06:48:35 +0000 (+0300) Subject: Addendum for #193: Do less tokenisation processing when inside a disabled code block X-Git-Tag: v2.2.0~1 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=commitdiff_plain;h=7a571a6d9ea7c7bf63cfbb4634f875d71653f872 Addendum for #193: Do less tokenisation processing when inside a disabled code block --- diff --git a/token.c b/token.c index 10b2832..93d958f 100644 --- a/token.c +++ b/token.c @@ -1215,7 +1215,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