summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ebnf-yac.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-10-13 03:00:16 +0000
committerGlenn Morris <rgm@gnu.org>2007-10-13 03:00:16 +0000
commit5d66fabc7fa9c284c7c97edbfff387bb6fe67d39 (patch)
treefb8e03ab575048f8d24591e347df7bc4c2387bed /lisp/progmodes/ebnf-yac.el
parenta6d6a87a4550c1a39bccaa816a83d8b20ba99ea6 (diff)
downloademacs-5d66fabc7fa9c284c7c97edbfff387bb6fe67d39.tar.gz
(ebnf-yac-token-table): Use mapc rather than mapcar.
Diffstat (limited to 'lisp/progmodes/ebnf-yac.el')
-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 @@
;; control character & 8-bit character are set to `error'
(let ((table (make-vector 256 'error)))
;; upper & lower case letters:
- (mapcar
+ (mapc
#'(lambda (char)
(aset table char 'non-terminal))
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")
;; printable characters:
- (mapcar
+ (mapc
#'(lambda (char)
(aset table char 'character))
"!#$&()*+-.0123456789=?@[\\]^_`~")