Commit faa7fb44 authored by Seblu's avatar Seblu
Browse files

modifications et ajouts des headers common

le lexer est ok, ne reste plus qu'a faire le mode here doc.


parent 89b761b4
Loading
Loading
Loading
Loading
+2 −1
Changes for src/Makefile.am: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -23,8 +23,9 @@ bin_PROGRAMS=42sh
		ast/ast_until.c			\
		ast/ast_while.c			\
		common/common.h			\
		common/constant.h		\
		common/isdigitstr.c		\
		common/mem.h			\
		common/macro.h			\
		common/strmerge.c		\
		common/strvmerge.c		\
		common/strndup.c		\
+2 −2
Changes for src/alias/alias.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -5,12 +5,12 @@
** Login   <seblu@epita.fr>
**
** Started on  Wed Aug 23 00:39:17 2006 Seblu
** Last update Wed Aug 23 18:47:59 2006 Seblu
** Last update Fri Aug 25 03:44:03 2006 Seblu
*/

#include <string.h>
#include "alias.h"
#include "../common/mem.h"
#include "../common/macro.h"

static size_t step = 5;

+2 −5
Changes for src/ast/ast.h: 2 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -5,16 +5,13 @@
** Login   <seblu@epita.fr>
**
** Started on  Sun Jul 30 04:40:03 2006 Seblu
** Last update Fri Aug 18 22:38:00 2006 Seblu
** Last update Fri Aug 25 03:47:41 2006 Seblu
*/

#ifndef AST_H_
# define AST_H_

# include <sys/types.h>
# include <errno.h>
# include <stdlib.h>
# include <assert.h>
# include "../common/macro.h"

typedef struct s_ast_node  ts_ast_node;

+1 −2
Changes for src/ast/ast_and.c: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -5,10 +5,9 @@
** Login   <seblu@epita.fr>
**
** Started on  Thu Aug  3 02:41:37 2006 Seblu
** Last update Fri Aug 18 20:40:35 2006 Seblu
** Last update Fri Aug 25 03:45:10 2006 Seblu
*/

#include "../common/mem.h"
#include "ast.h"

ts_ast_node	*ast_and_create(ts_ast_node *lhs, ts_ast_node *rhs)
+1 −2
Changes for src/ast/ast_bang.c: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -5,10 +5,9 @@
** Login   <seblu@epita.fr>
**
** Started on  Thu Aug  3 02:41:37 2006 Seblu
** Last update Fri Aug 18 20:43:52 2006 Seblu
** Last update Fri Aug 25 03:45:26 2006 Seblu
*/

#include "../common/mem.h"
#include "ast.h"

ts_ast_node	*ast_bang_create(ts_ast_node *child)
Loading