diff options
Diffstat (limited to 'lib/xixanta/src/node.rs')
| -rw-r--r-- | lib/xixanta/src/node.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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"), |
