aboutsummaryrefslogtreecommitdiff
path: root/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ast.c b/ast.c
index a17e64a2..d9ca65af 100644
--- a/ast.c
+++ b/ast.c
@@ -104,8 +104,8 @@ CORD ast_to_xml(ast_t *ast)
T(Null, "<Null>%r</Null>", type_ast_to_xml(data.type))
T(Bool, "<Bool value=\"%s\" />", data.b ? "yes" : "no")
T(Var, "<Var>%s</Var>", data.name)
- T(Int, "<Int bits=\"%d\">%s</Int>", data.bits, data.str)
- T(Num, "<Num bits=\"%d\">%g</Num>", data.bits, data.n)
+ T(Int, "<Int>%s</Int>", data.str)
+ T(Num, "<Num>%g</Num>", data.n)
T(TextLiteral, "%r", xml_escape(data.cord))
T(TextJoin, "<Text%r>%r</Text>", data.lang ? CORD_all(" lang=\"", data.lang, "\"") : CORD_EMPTY, ast_list_to_xml(data.children))
T(Declare, "<Declare var=\"%r\">%r</Declare>", ast_to_xml(data.var), ast_to_xml(data.value))