From d86999ebb5f9c462140d9f81aea33a634825c61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabri=C3=ABl=20Konat?= Date: Thu, 21 Jul 2011 21:16:25 +0200 Subject: [PATCH] Fixed wrong tag name in XML code generation for real values. --- DSL/DiversiaScript/trans/codegen/xml/generate.str | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DSL/DiversiaScript/trans/codegen/xml/generate.str b/DSL/DiversiaScript/trans/codegen/xml/generate.str index ea6d1ff..f182bc9 100644 --- a/DSL/DiversiaScript/trans/codegen/xml/generate.str +++ b/DSL/DiversiaScript/trans/codegen/xml/generate.str @@ -115,7 +115,7 @@ rules // Expressions (with type info) to-game-xml-typeinfo: exp@True() -> XMLElement("bool", exp) to-game-xml-typeinfo: exp@False() -> XMLElement("bool", exp) to-game-xml-typeinfo: exp@IntConst(num) -> XMLElement("int", exp) - to-game-xml-typeinfo: exp@FloatConst(num) -> XMLElement("float", exp) + to-game-xml-typeinfo: exp@FloatConst(num) -> XMLElement("real", exp) to-game-xml-typeinfo: exp@StrConst(string) -> XMLElement("string", exp) where string' := string to-game-xml-typeinfo: exp@StrConst(string) -> XMLElement("string", exp)