mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* 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.
This commit is contained in:
parent
251dea693a
commit
26bfd0cdcf
3 changed files with 18 additions and 16 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue