From 330679ee9863472b349124656f1fabf334ed2b38 Mon Sep 17 00:00:00 2001 From: ptaillandier Date: Tue, 27 Jul 2021 17:10:13 +0700 Subject: [PATCH] #3150 --- msi.gama.core/src/msi/gaml/statements/SaveStatement.java | 1 + 1 file changed, 1 insertion(+) diff --git a/msi.gama.core/src/msi/gaml/statements/SaveStatement.java b/msi.gama.core/src/msi/gaml/statements/SaveStatement.java index 84a0bc8608..3d84ea416a 100644 --- a/msi.gama.core/src/msi/gaml/statements/SaveStatement.java +++ b/msi.gama.core/src/msi/gaml/statements/SaveStatement.java @@ -781,6 +781,7 @@ public void saveShape(final IList agents, final File f, final final IExpression var = attributes.get(e); String name = e.replace("\"", ""); name = name.replace("'", ""); + name = name.replace(":", "_"); final String type = type(var); specs.append(',').append(name).append(':').append(type); }