aboutsummaryrefslogtreecommitdiff
path: root/src/ast.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-04-01 18:10:56 +0200
committerCharles <sircharlesaze@gmail.com>2020-04-01 18:10:56 +0200
commit1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c (patch)
tree8aae342f45c24169f0e9da55551e1a2ddca7503f /src/ast.c
parent2eb59ee61e49b60472f82c000dd4f3536bd1987c (diff)
downloadminishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.tar.gz
minishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.tar.bz2
minishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.zip
Norm compliant comment format, dirty script for doxygen comments
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
*/