[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/beardbolt d2fb1ca1ad 1/3: Support c-ts-mode and c++-ts-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/beardbolt d2fb1ca1ad 1/3: Support c-ts-mode and c++-ts-mode |
Date: |
Wed, 13 Nov 2024 12:57:24 -0500 (EST) |
branch: externals/beardbolt
commit d2fb1ca1adeb4920d58f43e9d574c5f0de1f4a07
Author: João Távora <capitaomorte@archlinux2022.linuxvmimages.local>
Commit: João Távora <capitaomorte@archlinux2022.linuxvmimages.local>
Support c-ts-mode and c++-ts-mode
---
beardbolt.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/beardbolt.el b/beardbolt.el
index f4a43eb5ab..a0b0dd0845 100644
--- a/beardbolt.el
+++ b/beardbolt.el
@@ -220,7 +220,7 @@ Useful if you have multiple objdumpers and want to select
between them")
`("-x" ,language "-" "<" ,in)
`(,(buffer-file-name)))))
(assemble (in out) `("&&" ,cc "-c" ,in "-o" ,out))
- (link (in out) `("&&" ,cc ,in "-o" ,out))
+ (link (in out) `("&&" ,cc ,in "-fsanitize=address"
"-o" ,out))
(execute (in) `("&& (" ,in
,(if (stringp bb-execute) bb-execute "")
"|| true )"))
@@ -283,6 +283,8 @@ Useful if you have multiple objdumpers and want to select
between them")
(defvar bb-languages
`((c-mode ,#'bb--c/c++-setup :base-cmd "gcc" :language "c")
(c++-mode ,#'bb--c/c++-setup :base-cmd "g++" :language "c++")
+ (c-ts-mode ,#'bb--c/c++-setup :base-cmd "gcc" :language "c")
+ (c++-ts-mode ,#'bb--c/c++-setup :base-cmd "g++" :language "c++")
(rust-mode ,#'bb--rust-setup))
"Alist of (MAJOR-MODE SETUP . SETUP-ARGS).