aboutsummaryrefslogtreecommitdiff
path: root/el.h
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2025-04-16 20:16:43 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2025-04-16 20:18:02 +0000
commitb3884193b7bd3977acc44790b6278b60517ad097 (patch)
treed3a58576a5bbfb38982096462194e26a33aca620 /el.h
parent5a36c82614102a8c3926bca0bdb9d44149691be8 (diff)
libedit: import snapshort 2025-01-03vendor/NetBSD/libedit/2025-01-03vendor/NetBSD/libedit
Diffstat (limited to 'el.h')
-rw-r--r--el.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/el.h b/el.h
index 757137839eb8..a1e9cea11747 100644
--- a/el.h
+++ b/el.h
@@ -1,4 +1,4 @@
-/* $NetBSD: el.h,v 1.46 2021/08/15 10:08:41 christos Exp $ */
+/* $NetBSD: el.h,v 1.48 2025/01/03 00:40:08 rillig Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -58,6 +58,7 @@
#define NARROW_HISTORY 0x040
#define NO_RESET 0x080
#define FIXIO 0x100
+#define FROM_ELLINE 0x200
typedef unsigned char el_action_t; /* Index to command array */
@@ -152,7 +153,7 @@ libedit_private EditLine *el_init_internal(const char *, FILE *, FILE *,
__FILE__, __LINE__); \
fprintf a; \
abort(); \
- } while( /*CONSTCOND*/0);
+ } while (0)
#else
#define EL_ABORT(a) abort()
#endif