From e85d384b201ff5f2c353c3a677aa7c388c23e803 Mon Sep 17 00:00:00 2001 From: Antun Horvat Date: Tue, 24 Sep 2024 17:19:18 +0200 Subject: [PATCH] Fix keyword handling --- src/nameutil.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nameutil.rs b/src/nameutil.rs index 9c4e954d3..c1b5e1c79 100644 --- a/src/nameutil.rs +++ b/src/nameutil.rs @@ -97,7 +97,7 @@ pub fn escape_digit(name: &str) -> String { if name.starts_with(char::is_numeric) { format!("_{name}") } else { - name.into() + mangle_keywords(name).into() } }