Compare strings with string= rather than equal
authorDavid Vázquez <davazp@gmail.com>
Fri, 24 May 2013 01:13:16 +0000 (02:13 +0100)
committerDavid Vázquez <davazp@gmail.com>
Fri, 24 May 2013 01:13:16 +0000 (02:13 +0100)
src/read.lisp

index 3c15f9d..0c1f440 100644 (file)
          (incf index))
        (setq name (subseq string index))))
     ;; Canonalize symbol name and package
-    (setq name (if (equal package "JS")
+    (setq name (if (string= package "JS")
                    (setq name (unescape-token name))
                    (setq name (string-upcase-noescaped name))))
     (setq package (find-package package))