aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cedet
diff options
context:
space:
mode:
authorGlenn Morris2020-03-18 07:50:37 -0700
committerGlenn Morris2020-03-18 07:50:37 -0700
commit64d9b4cd762cd39749b899343cb4878e5998a170 (patch)
treed53ca326b506c75d3151a37ac35a199ae7c780e3 /lisp/cedet
parentd815e1ea521aac866eb9c305b64a1d4486fea86f (diff)
parente92b8e535aa599fa4477578f3e5d0657e494fdd0 (diff)
downloademacs-64d9b4cd762cd39749b899343cb4878e5998a170.tar.gz
emacs-64d9b4cd762cd39749b899343cb4878e5998a170.zip
Merge from origin/emacs-27
e92b8e535a (origin/emacs-27) Remove raw carriage return characters fr... 5747a59a88 Recalculate default font when switching font backend a2dd8c4234 * lisp/tab-line.el: Fix tab-line-format and tab-line-forma... a7b8291b6c * etc/NEWS: Make the `--eval` example slightly more precise f8254aad14 * lisp/image/image-converter.el: Support more ImageMagick ... 5beb269505 Support Unicode 13.0 3a671ad7ed Fix regression in wisent-total-conflicts # Conflicts: # etc/NEWS
Diffstat (limited to 'lisp/cedet')
-rw-r--r--lisp/cedet/semantic/wisent/comp.el13
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/cedet/semantic/wisent/comp.el b/lisp/cedet/semantic/wisent/comp.el
index 263dff9dcc6..4e9927f23f1 100644
--- a/lisp/cedet/semantic/wisent/comp.el
+++ b/lisp/cedet/semantic/wisent/comp.el
@@ -2235,13 +2235,18 @@ there are any reduce/reduce conflicts."
2235(defun wisent-total-conflicts () 2235(defun wisent-total-conflicts ()
2236 "Report the total number of conflicts." 2236 "Report the total number of conflicts."
2237 (let* ((src (wisent-source)) 2237 (let* ((src (wisent-source))
2238 (symbol (intern (format "wisent-%s--expected-conflicts" 2238 (symbol
2239 (replace-regexp-in-string "\\.el$" "" src)) 2239 ;; Source files may specify how many expected conflicts
2240 obarray))) 2240 ;; there are. If the number is the expected number, don't
2241 ;; output warnings.
2242 (and src
2243 (intern (format "wisent-%s--expected-conflicts"
2244 (replace-regexp-in-string "\\.el$" "" src))))))
2241 (when (or (not (zerop rrc-total)) 2245 (when (or (not (zerop rrc-total))
2242 (and (not (zerop src-total)) 2246 (and (not (zerop src-total))
2243 (not (= src-total (or wisent-expected-conflicts 0))) 2247 (not (= src-total (or wisent-expected-conflicts 0)))
2244 (or (not (boundp symbol)) 2248 (or (null symbol)
2249 (not (boundp symbol))
2245 (not (equal (symbol-value symbol) src-total))))) 2250 (not (equal (symbol-value symbol) src-total)))))
2246 (let* ((src (if src (concat " in " src) "")) 2251 (let* ((src (if src (concat " in " src) ""))
2247 (msg (format "Grammar%s contains" src))) 2252 (msg (format "Grammar%s contains" src)))