=== modified file 'rules/annotations/array_expansion.rules'
--- old/rules/annotations/array_expansion.rules	2023-05-01 09:49:43 +0000
+++ new/rules/annotations/array_expansion.rules	2025-09-23 10:28:18 +0000
@@ -5,7 +5,7 @@
 ** Module   : array_expansion.rules
 ** Abstract : convert implicit array refs into explicit versions
 **
-** Copyright (c) 2005-2023, Golden Code Development Corporation.
+** Copyright (c) 2005-2025, Golden Code Development Corporation.
 **
 ** _#_ _I_ __Date__ __JPRM__ ___________________________________Description___________________________________
 ** 001 GES 20051122   @23445 Some (mostly UI) language statements support
@@ -67,8 +67,10 @@
 **                           versions, based on node types rather on string paths.
 ** 026 CA  20230501          Avoid the subscript in 'DEF VAR  ... LIKE v[1]', as the subscript must not be
 **                           validated.
+** 027 SP  20250923          Mark created prog.num_literal nodes with "is-literal" annotation.
 */
- -->
+-->
+
 <!--
 ** This program is free software: you can redistribute it and/or modify
 ** it under the terms of the GNU Affero General Public License as
@@ -173,8 +175,9 @@
             <action>ref = createProgressAst(prog.expression, "", ref)</action>
          </rule>
          <expression>
-            createProgressAst(prog.num_literal, string(#(long) element), ref)
+            ref = createProgressAst(prog.num_literal, string(#(long) element), ref)
          </expression>
+         <expression>ref.putAnnotation("is-literal", true)</expression>
          <expression>dupref.clearIds()</expression>
       </function>
    
@@ -412,8 +415,9 @@
                   </action>
                </rule>
                <action>
-                  createProgressAst(prog.num_literal, "1", bogusRef)
+                  bogusRef = createProgressAst(prog.num_literal, "1", bogusRef)
                </action>
+               <action>bogusRef.putAnnotation("is-literal", true)</action>
             </rule>
             
             <!-- only certain statements get expansions -->

=== modified file 'rules/annotations/frame_scoping.rules'
--- old/rules/annotations/frame_scoping.rules	2025-03-25 11:48:45 +0000
+++ new/rules/annotations/frame_scoping.rules	2025-09-23 10:33:00 +0000
@@ -482,6 +482,7 @@
 ** 207 TJD 20230328          Do not backreference default frame for CLEAR.
 ** 208 LS  20250108          Added support for empty DISPLAY.
 ** 209 SP  20250127          Removed support for custom denormalized extents.
+** 210 SP  20250922          Fixed widget search for EXTENT field items.
 */
 -->
 
@@ -4192,6 +4193,12 @@
                      <rule>node.getChildAt(0) == null and txt1.equals(txt2)
                         <action>res = ref</action>
                      </rule>
+
+                     <!-- check item of EXTENT field -->
+                     <rule>node.getNumImmediateChildren() == 1 and
+                           txt1.equals(txt2)
+                        <action>res = ref</action>
+                     </rule>
                   </rule>
                </rule>
             </while>
@@ -4591,6 +4598,12 @@
                                  txt1.equals(txt2)
                               <action>res = frame</action>
                            </rule>
+
+                           <!-- check item of EXTENT field -->
+                           <rule>node.getNumImmediateChildren() == 1 and
+                                 txt1.equals(txt2)
+                              <action>res = frame</action>
+                           </rule>
                         </rule>
                         
                         <rule>is_w and nm.equals(ref.text.toLowerCase())

