summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/commands.c')
-rw-r--r--macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/commands.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/commands.c b/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/commands.c
index 7b2d65a3c9..e0caffd149 100644
--- a/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/commands.c
+++ b/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/commands.c
@@ -1,4 +1,4 @@
-/* Copyright 2010-2019 Free Software Foundation, Inc.
+/* Copyright 2010-2021 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -20,6 +20,8 @@
#include "command_ids.h"
#include "commands.h"
+#include "errors.h"
+
#include "command_data.c"
COMMAND *user_defined_command_data = 0;
@@ -82,7 +84,7 @@ add_texinfo_command (char *name)
= realloc (user_defined_command_data,
(user_defined_space += 10) * sizeof (COMMAND));
if (!user_defined_command_data)
- abort ();
+ fatal ("could not realloc");
}
user_defined_command_data[user_defined_number].cmdname = strdup (name);