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() } }