aboutsummaryrefslogtreecommitdiff
path: root/include/debug_tools.h
diff options
context:
space:
mode:
authorDominik Kaiser2024-06-28 15:09:32 +0200
committerGitHub2024-06-28 15:09:32 +0200
commit8103cadfc95fb76539bfccc893a2101ccb89ea90 (patch)
treeb46379099324f76f2496909b4de3cd71de8b772a /include/debug_tools.h
parent031685832d8267acc2fa46ea9732b8e95eb34463 (diff)
downloadminishell-8103cadfc95fb76539bfccc893a2101ccb89ea90.tar.gz
minishell-8103cadfc95fb76539bfccc893a2101ccb89ea90.zip
Add data structures for tokenizing and parsing
* Add data structures and helper functions for ast * Add data structures for tokenizing * Add helper functions for token structures * Include token.h in minishell.h * Add new/free functions for nodes/tokens to Makefile * Add UNREACHABLE macro to debug_tools.h
Diffstat (limited to 'include/debug_tools.h')
-rw-r--r--include/debug_tools.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/debug_tools.h b/include/debug_tools.h
index e831ecc..4a7ff10 100644
--- a/include/debug_tools.h
+++ b/include/debug_tools.h
@@ -6,7 +6,7 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/24 18:34:37 by dkaiser #+# #+# */
-/* Updated: 2024/06/24 18:51:53 by dkaiser ### ########.fr */
+/* Updated: 2024/06/28 15:05:12 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -18,6 +18,7 @@
# ifndef DEBUG
# define DEBUG 0
# endif
+# define UNREACHABLE "Unreachable."
void dbg(char *str);
void panic(char *msg);