From c8138a0fc5353dc9017fc32fb5ef12a6fe780415 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 24 Apr 2026 16:26:08 +0200 Subject: Add the .version pseudo-variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/node.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/xixanta/src/node.rs') diff --git a/lib/xixanta/src/node.rs b/lib/xixanta/src/node.rs index 3803840..af76edd 100644 --- a/lib/xixanta/src/node.rs +++ b/lib/xixanta/src/node.rs @@ -170,6 +170,7 @@ pub enum ControlType { EndIf, Defined, Echo(EchoKind), + Version, } impl fmt::Display for ControlType { @@ -200,6 +201,7 @@ impl fmt::Display for ControlType { ControlType::Else => write!(f, ".else"), ControlType::EndIf => write!(f, ".endif"), ControlType::Defined => write!(f, ".defined"), + ControlType::Version => write!(f, ".version"), ControlType::Echo(t) => match t { EchoKind::Info => write!(f, ".info"), EchoKind::Warning => write!(f, ".warning"), -- cgit v1.2.3