summaryrefslogtreecommitdiff
path: root/test/lisp/cedet/semantic-utest-c.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2021-03-07 19:03:36 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2021-03-07 19:03:36 -0500
commit26bfd0cdcf8bdf4569608227c527bebd755ef2e6 (patch)
treeb1ff4c4de4733de3f1d7c43212bc868c931c87c9 /test/lisp/cedet/semantic-utest-c.el
parent251dea693a4e5d1c33257ab3402734a8067049ec (diff)
downloademacs-26bfd0cdcf8bdf4569608227c527bebd755ef2e6.tar.gz
* lisp/cedet/semantic/bovine.el: Fix recent regression
The conversion to `lexical-binding` introduced a regression because `bovine/c.el` relied on inspecting the local variable `lse` in one of its callers. (semantic-bovinate-stream): Bind `lse` dynamically, because of `semantic-parse-region-c-mode`. (semantic-bovinate-nonterminal-check-map): Rename from `semantic-bovinate-nonterminal-check-obarray` to hold some other kind of table. (semantic-bovinate-nonterminal-check): Use a hash-table instead of an obarray. * lisp/cedet/semantic/bovine/c.el (semantic-parse-region-c-mode): Declare use of `lse` via dynamic scoping. * test/lisp/cedet/semantic-utest-c.el (semantic-test-c-preprocessor-simulation): Re-enable test.
Diffstat (limited to 'test/lisp/cedet/semantic-utest-c.el')
-rw-r--r--test/lisp/cedet/semantic-utest-c.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lisp/cedet/semantic-utest-c.el b/test/lisp/cedet/semantic-utest-c.el
index b881cdb93b3..d08c79cad3e 100644
--- a/test/lisp/cedet/semantic-utest-c.el
+++ b/test/lisp/cedet/semantic-utest-c.el
@@ -43,10 +43,9 @@
(defvar semantic-lex-c-nested-namespace-ignore-second)
;;; Code:
-;;;###autoload
(ert-deftest semantic-test-c-preprocessor-simulation ()
"Run parsing test for C from the test directory."
- :tags '(:expensive-test :unstable)
+ :tags '(:expensive-test)
(semantic-mode 1)
(dolist (fp semantic-utest-c-comparisons)
(let* ((semantic-lex-c-nested-namespace-ignore-second nil)