fix(chaipa): Remove pretty print to avoid clang-tidy / added the options in echo
This commit is contained in:
parent
3cd231f031
commit
182e31b42e
7 changed files with 106 additions and 34 deletions
|
|
@ -79,7 +79,7 @@ struct ast *ast_create(enum ast_type type, void *data)
|
|||
return node;
|
||||
}
|
||||
|
||||
// TODO handle new types (AST_WORD, AST_PIPE, etc.)
|
||||
/* // TODO handle new types (AST_WORD, AST_PIPE, etc.)
|
||||
static void ast_print_dot_recursive(struct ast *node, FILE *out)
|
||||
{
|
||||
if (!node)
|
||||
|
|
@ -170,3 +170,4 @@ void ast_print_dot(struct ast *ast)
|
|||
fprintf(dot_pipe, "}\n");
|
||||
pclose(dot_pipe);
|
||||
}
|
||||
*/
|
||||
|
|
@ -16,9 +16,4 @@
|
|||
#include "ast_void.h"
|
||||
#include "ast_word.h"
|
||||
|
||||
/**
|
||||
* Prints the Graphviz DOT representation of the given AST to stdout.
|
||||
*/
|
||||
void ast_print_dot(struct ast *ast);
|
||||
|
||||
#endif /* ! AST_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue