summaryrefslogtreecommitdiffstats
path: root/src/ft_f_fail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_f_fail.c')
-rw-r--r--src/ft_f_fail.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ft_f_fail.c b/src/ft_f_fail.c
index 3459702..9a826ed 100644
--- a/src/ft_f_fail.c
+++ b/src/ft_f_fail.c
@@ -28,6 +28,15 @@ void
ft_write_fail(concern, FT_FAIL_NO_OPTIONS);
}
+ /* TODO: export failed identifier `123' */
+void
+ ft_fail_identifier(const char concern[],
+ const char identifier[])
+{
+ ft_dprintf(STDERR_FILENO,
+ "minishell: %s: `%s': not a valid identifier\n", concern, identifier);
+}
+
void
ft_fail_too_many_args(const char concern[])
{