From 405da5f84b072ea97b69359454899f45d92d24b6 Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Wed, 22 May 2024 00:00:29 +0200 Subject: WIP LSP client This contains the start of an LSP client. Nothing (except starting the LSP server) works at the moment and the feature is disabled by default. --- src/dged/undo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dged/undo.h') diff --git a/src/dged/undo.h b/src/dged/undo.h index 1ce3a8a..2f308f9 100644 --- a/src/dged/undo.h +++ b/src/dged/undo.h @@ -31,14 +31,14 @@ struct undo_delete { struct undo_record { enum undo_record_type type; - union { + union undo_record_data { struct undo_boundary boundary; struct undo_add add; struct undo_delete delete; - }; + } data; }; -#define INVALID_TOP -1 +#define INVALID_TOP (uint32_t) - 1 struct undo_stack { VEC(struct undo_record) records; -- cgit v1.2.3