aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-10-13 03:00:16 +0000
committerGlenn Morris2007-10-13 03:00:16 +0000
commit5d66fabc7fa9c284c7c97edbfff387bb6fe67d39 (patch)
treefb8e03ab575048f8d24591e347df7bc4c2387bed
parenta6d6a87a4550c1a39bccaa816a83d8b20ba99ea6 (diff)
downloademacs-5d66fabc7fa9c284c7c97edbfff387bb6fe67d39.tar.gz
emacs-5d66fabc7fa9c284c7c97edbfff387bb6fe67d39.zip
(ebnf-yac-token-table): Use mapc rather than mapcar.
-rw-r--r--lisp/progmodes/ebnf-yac.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/ebnf-yac.el b/lisp/progmodes/ebnf-yac.el
index c1b00bdddfc..14640649d02 100644
--- a/lisp/progmodes/ebnf-yac.el
+++ b/lisp/progmodes/ebnf-yac.el
@@ -273,12 +273,12 @@
273 ;; control character & 8-bit character are set to `error' 273 ;; control character & 8-bit character are set to `error'
274 (let ((table (make-vector 256 'error))) 274 (let ((table (make-vector 256 'error)))
275 ;; upper & lower case letters: 275 ;; upper & lower case letters:
276 (mapcar 276 (mapc
277 #'(lambda (char) 277 #'(lambda (char)
278 (aset table char 'non-terminal)) 278 (aset table char 'non-terminal))
279 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") 279 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")
280 ;; printable characters: 280 ;; printable characters:
281 (mapcar 281 (mapc
282 #'(lambda (char) 282 #'(lambda (char)
283 (aset table char 'character)) 283 (aset table char 'character))
284 "!#$&()*+-.0123456789=?@[\\]^_`~") 284 "!#$&()*+-.0123456789=?@[\\]^_`~")