Skip to content
Snippets Groups Projects
Commit 228c1336 authored by stratact's avatar stratact Committed by Michael Aaron Murphy
Browse files

Support '.' characters in aliases/variables (Fixes #770) (#772)

parent 35e1a537
No related branches found
No related tags found
No related merge requests found
...@@ -179,7 +179,7 @@ impl Variables { ...@@ -179,7 +179,7 @@ impl Variables {
} }
pub(crate) fn is_valid_variable_character(c: char) -> bool { pub(crate) fn is_valid_variable_character(c: char) -> bool {
c.is_alphanumeric() || c == '_' || c == '?' c.is_alphanumeric() || c == '_' || c == '?' || c == '.'
} }
pub fn strings<'a>(&'a self) -> impl Iterator<Item = Identifier> + 'a { pub fn strings<'a>(&'a self) -> impl Iterator<Item = Identifier> + 'a {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment