aboutsummaryrefslogtreecommitdiff
path: root/src/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.c')
-rw-r--r--src/ast.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/ast.c b/src/ast.c
index 12761ac..2393a95 100644
--- a/src/ast.c
+++ b/src/ast.c
@@ -1,11 +1,23 @@
-/**
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ast.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/04/01 17:05:42 by charles #+# #+# */
+/* Updated: 2020/04/01 17:05:44 by charles ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+/*
** \file ast.c
** \brief AST functions
*/
#include "ast.h"
-/**
+/*
** \brief Create a new AST node according to `tag`
** \param tag Tag of node
** \param data Pointer to node data (t_cmd or t_line)
@@ -30,7 +42,7 @@ t_ast *ast_new(t_ast_tag tag, void *data)
return (ast);
}
-/**
+/*
** \brief Destroy an AST node and all his child nodes
** \param ast AST to destroy
*/