From 458b045755a758c49df4e4ee459422d6a0ed4c04 Mon Sep 17 00:00:00 2001 From: Jannik Obermann <50554200+jannik4@users.noreply.github.com> Date: Fri, 3 Nov 2023 19:13:30 +0100 Subject: [PATCH] Fix logos_path in generated code --- logos-codegen/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logos-codegen/src/lib.rs b/logos-codegen/src/lib.rs index aa915079..46fdeb90 100644 --- a/logos-codegen/src/lib.rs +++ b/logos-codegen/src/lib.rs @@ -227,7 +227,7 @@ pub fn generate(input: TokenStream) -> TokenStream { type Source = #source; - fn lex(lex: &mut ::logos::Lexer<'s, Self>) { + fn lex(lex: &mut #logos_path::Lexer<'s, Self>) { #body } }