Skip to content

Commit

Permalink
Fixed wrong tag name in XML code generation for real values.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gohla committed Jul 21, 2011
1 parent c6edc21 commit d86999e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DSL/DiversiaScript/trans/codegen/xml/generate.str
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ rules // Expressions (with type info)
to-game-xml-typeinfo: exp@True() -> XMLElement("bool", <to-game-xml> exp)
to-game-xml-typeinfo: exp@False() -> XMLElement("bool", <to-game-xml> exp)
to-game-xml-typeinfo: exp@IntConst(num) -> XMLElement("int", <to-game-xml> exp)
to-game-xml-typeinfo: exp@FloatConst(num) -> XMLElement("float", <to-game-xml> exp)
to-game-xml-typeinfo: exp@FloatConst(num) -> XMLElement("real", <to-game-xml> exp)
to-game-xml-typeinfo: exp@StrConst(string) -> XMLElement("string", <to-game-xml> exp)
where string' := <un-double-quote> string
to-game-xml-typeinfo: exp@StrConst(string) -> XMLElement("string", <to-game-xml> exp)
Expand Down

0 comments on commit d86999e

Please sign in to comment.