]> git.eshelyaron.com Git - emacs.git/commitdiff
(ebnf-yac-token-table): Use mapc rather than mapcar.
authorGlenn Morris <rgm@gnu.org>
Sat, 13 Oct 2007 03:00:16 +0000 (03:00 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 13 Oct 2007 03:00:16 +0000 (03:00 +0000)
lisp/progmodes/ebnf-yac.el

index c1b00bdddfc386a6c4502678c3c084a6158f44c0..14640649d02bb1cc990bd8dc95d2d29c60d62085 100644 (file)
   ;; 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=?@[\\]^_`~")