summaryrefslogtreecommitdiff
path: root/src/webidl-ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/webidl-ast.c')
-rw-r--r--src/webidl-ast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webidl-ast.c b/src/webidl-ast.c
index fecf0da..810ac24 100644
--- a/src/webidl-ast.c
+++ b/src/webidl-ast.c
@@ -125,11 +125,11 @@ static const char *webidl_node_type_to_str(enum webidl_node_type type)
}
}
-const char *SPACES=" ";
+
int webidl_ast_dump(struct webidl_node *node, int indent)
{
- char *txt;
+ const char *SPACES=" "; char *txt;
while (node != NULL) {
printf("%.*s%s", indent, SPACES, webidl_node_type_to_str(node->type));