aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 0783dc75..cf7830e3 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -1509,7 +1509,7 @@ class JS:
@staticmethod
def to_nice_ident(ident): # limited version of the JS function toNiceIdent
- return ident.replace('%', '$').replace('@', '_')
+ return ident.replace('%', '$').replace('@', '_').replace('.', '_')
@staticmethod
def make_initializer(sig, settings=None):