fix(ast_command): ast_list redir -> list redir
This commit is contained in:
parent
4315eb5c0d
commit
08803bd591
2 changed files with 3 additions and 2 deletions
|
|
@ -4,9 +4,10 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include "../lists/lists.h"
|
||||
#include "ast_list.h"
|
||||
|
||||
struct ast *ast_create_command(struct list *command, struct list *redirections,
|
||||
struct ast_list *assignments)
|
||||
struct list *assignments)
|
||||
{
|
||||
struct ast_command *command_data = malloc(sizeof(struct ast_command));
|
||||
if (!command_data)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
struct ast_command
|
||||
{
|
||||
struct list *command; // A list of words (char*)
|
||||
struct ast_list *redirections; // A list of ASTs, all ast_redir
|
||||
struct list *redirections; // A list of ASTs, all ast_redir
|
||||
struct list *assignments; // A list of ASTs, all ast_assignment
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue