From c52d1f8afb5a22878d8f18c05a32f7b50ae678e9 Mon Sep 17 00:00:00 2001 From: Mathieu Poumeyrol Date: Thu, 16 Oct 2025 16:30:09 +0200 Subject: [PATCH] tolerate / in id names --- data/src/dim/parse.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/src/dim/parse.rs b/data/src/dim/parse.rs index cbf4e4e1fe..c93901f131 100644 --- a/data/src/dim/parse.rs +++ b/data/src/dim/parse.rs @@ -102,7 +102,10 @@ fn func<'i>(symbol_table: &SymbolScope, name: &'static str, i: &'i str) -> R<'i, fn identifier<'i>(symbol_table: &SymbolScope, i: &'i str) -> R<'i, Symbol> { map( - recognize(pair(alt((alpha1, tag("_"))), many0(alt((alphanumeric1, tag("_"), tag(".")))))), + recognize(pair( + alt((alpha1, tag("_"))), + many0(alt((alphanumeric1, tag("_"), tag("."), recognize(pair(tag("/"), alpha1))))), + )), |s| symbol_table.sym(s), ) .parse(i)