Modified stuff
This commit is contained in:
parent
bb36b37bd3
commit
f490f834f7
11 changed files with 11 additions and 56 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/06/17 13:04:32 by maiboyer #+# #+# */
|
/* Created: 2024/06/17 13:04:32 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/06/23 17:39:39 by maiboyer ### ########.fr */
|
/* Updated: 2024/07/26 15:26:41 by maiboyer ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -25,54 +25,9 @@ t_error _build_not_finished(t_parse_node self, t_const_str input, t_ast_node *ou
|
||||||
return (ERROR);
|
return (ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_arithmetic_binary_expression(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_arithmetic_expansion(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_arithmetic_literal(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_arithmetic_parenthesized_expression(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_arithmetic_postfix_expression(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_arithmetic_ternary_expression(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_arithmetic_unary_expression(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_case_item(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_case_statement(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_command(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_command_name(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_command_substitution(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_comment(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_compound_statement(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_concatenation(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_do_group(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_elif_clause(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_else_clause(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_expansion(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_expansion_expression(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_expansion_regex(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_extglob_pattern(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_file_descriptor(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_file_redirect(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_for_statement(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_function_definition(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_heredoc_body(t_parse_node self, t_const_str input, t_ast_node *out);
|
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_heredoc_body(t_parse_node self, t_const_str input, t_ast_node *out);
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_heredoc_content(t_parse_node self, t_const_str input, t_ast_node *out);
|
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_heredoc_content(t_parse_node self, t_const_str input, t_ast_node *out);
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_heredoc_end(t_parse_node self, t_const_str input, t_ast_node *out);
|
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_heredoc_end(t_parse_node self, t_const_str input, t_ast_node *out);
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_heredoc_redirect(t_parse_node self, t_const_str input, t_ast_node *out);
|
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_heredoc_redirect(t_parse_node self, t_const_str input, t_ast_node *out);
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_heredoc_start(t_parse_node self, t_const_str input, t_ast_node *out);
|
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_heredoc_start(t_parse_node self, t_const_str input, t_ast_node *out);
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_if_statement(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_list(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_negated_command(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_number(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_pipeline(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_program(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_raw_string(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_redirected_statement(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_regex(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_simple_expansion(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_simple_heredoc_body(t_parse_node self, t_const_str input, t_ast_node *out);
|
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_simple_heredoc_body(t_parse_node self, t_const_str input, t_ast_node *out);
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_string(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_string_content(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_subshell(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_variable_assignment(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_variable_assignments(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_variable_name(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_while_statement(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym_word(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
t_error __attribute__((weak, alias("_build_not_finished"))) build_sym__bare_dollar(t_parse_node self, t_const_str input, t_ast_node *out);
|
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@
|
||||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/07/26 11:00:25 by rparodi #+# #+# */
|
/* Created: 2024/07/26 11:00:25 by rparodi #+# #+# */
|
||||||
/* Updated: 2024/07/26 13:01:18 by rparodi ### ########.fr */
|
/* Updated: 2024/07/26 15:25:13 by maiboyer ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "../include/function_declaration.h"
|
#include "ast/_function_declaration.h"
|
||||||
|
|
||||||
void ast_print_node_if(t_ast_node self) NOT_DONE;
|
void ast_print_node_if(t_ast_node self) NOT_DONE;
|
||||||
void ast_print_node_case(t_ast_node self) NOT_DONE;
|
void ast_print_node_case(t_ast_node self) NOT_DONE;
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "../../include/function_declaration.h"
|
#include "ast/_function_declaration.h"
|
||||||
|
|
||||||
void ast_print_node_command_substitution(t_ast_node self)
|
void ast_print_node_command_substitution(t_ast_node self)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "../../include/function_declaration.h"
|
#include "ast/_function_declaration.h"
|
||||||
|
|
||||||
void ast_print_node_empty(t_ast_node self)
|
void ast_print_node_empty(t_ast_node self)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "../../include/function_declaration.h"
|
#include "ast/_function_declaration.h"
|
||||||
|
|
||||||
void ast_print_node_variable_assignment(t_ast_node self)
|
void ast_print_node_variable_assignment(t_ast_node self)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "../../include/function_declaration.h"
|
#include "ast/_function_declaration.h"
|
||||||
|
|
||||||
void ast_print_node_file_redirection_heredoc(t_ast_node self)
|
void ast_print_node_file_redirection_heredoc(t_ast_node self)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "../../include/function_declaration.h"
|
#include "ast/_function_declaration.h"
|
||||||
|
|
||||||
void ast_print_node_subshell(t_ast_node self)
|
void ast_print_node_subshell(t_ast_node self)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "../../include/function_declaration.h"
|
#include "ast/_function_declaration.h"
|
||||||
|
|
||||||
void _print_term(t_ast_terminator_kind term)
|
void _print_term(t_ast_terminator_kind term)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "../../include/function_declaration.h"
|
#include "ast/_function_declaration.h"
|
||||||
|
|
||||||
void ast_print_node_arithmetic_expansion(t_ast_node self)
|
void ast_print_node_arithmetic_expansion(t_ast_node self)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "../../include/function_declaration.h"
|
#include "ast/_function_declaration.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
t_ast_arithmetic_expansion arithmetic_expansion;
|
t_ast_arithmetic_expansion arithmetic_expansion;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue