From d1063268e62633a334bb9464f7cba2385da5812d Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 21 Jun 2022 18:06:47 +0200 Subject: Add support for passing token types to destination, label, title --- src/compiler.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler.rs') diff --git a/src/compiler.rs b/src/compiler.rs index 4359942..f51305b 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -186,7 +186,7 @@ pub fn compile(events: &[Event], codes: &[Code], options: &Options) -> String { | TokenType::Data | TokenType::DefinitionLabel | TokenType::DefinitionLabelMarker - | TokenType::DefinitionLabelData + | TokenType::DefinitionLabelString | TokenType::DefinitionMarker | TokenType::DefinitionDestination | TokenType::DefinitionDestinationLiteral @@ -267,7 +267,7 @@ pub fn compile(events: &[Event], codes: &[Code], options: &Options) -> String { | TokenType::CodeTextSequence | TokenType::DefinitionLabel | TokenType::DefinitionLabelMarker - | TokenType::DefinitionLabelData + | TokenType::DefinitionLabelString | TokenType::DefinitionMarker | TokenType::DefinitionDestination | TokenType::DefinitionDestinationLiteral -- cgit