diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-09-17 01:22:22 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-09-17 01:22:22 +0100 |
commit | d5c2e8d0843abd94e4fed57f25186147f56a3976 (patch) | |
tree | a9e74c36c4a875df8f84905b6fd82109a4f733af /src/webidl-ast.c | |
parent | cdd39954a238ec07224c3c9cff66a4f8f101d71c (diff) | |
download | nsgenbind-d5c2e8d0843abd94e4fed57f25186147f56a3976.tar.gz nsgenbind-d5c2e8d0843abd94e4fed57f25186147f56a3976.tar.bz2 |
add search function
Diffstat (limited to 'src/webidl-ast.c')
-rw-r--r-- | src/webidl-ast.c | 4 |
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)); |