This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git

commit cbb65f6ca263277b4893883e79a7209f5512f0ce
Author: Josh Tynjala <[email protected]>
AuthorDate: Thu Jul 23 12:37:47 2026 -0700

    IMXMLToken: similar to IASToken, it should extend ISourceLocation
    
    The MXMLToken implementation already extends ASToken, so no other change is 
required, and this helps us avoid unnecessary casting.
---
 .../src/main/java/org/apache/royale/compiler/parsing/IMXMLToken.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/compiler/src/main/java/org/apache/royale/compiler/parsing/IMXMLToken.java 
b/compiler/src/main/java/org/apache/royale/compiler/parsing/IMXMLToken.java
index 4edcdedeb..5dea8793e 100644
--- a/compiler/src/main/java/org/apache/royale/compiler/parsing/IMXMLToken.java
+++ b/compiler/src/main/java/org/apache/royale/compiler/parsing/IMXMLToken.java
@@ -19,10 +19,12 @@
 
 package org.apache.royale.compiler.parsing;
 
+import org.apache.royale.compiler.common.ISourceLocation;
+
 /**
  * A token returned back by an {@link IMXMLTokenizer} created when we scan text
  */
-public interface IMXMLToken extends ICMToken
+public interface IMXMLToken extends ICMToken, ISourceLocation
 {
        /**
         * Types of tokens within the MXML language

Reply via email to