]> code.delx.au - gnu-emacs/blobdiff - lisp/calc/calc-prog.el
Prefer directed to neutral quotes
[gnu-emacs] / lisp / calc / calc-prog.el
index df2eb764f3b969f202fbb2f993cff33714157f6c..cc1d27032ef46ba169dc8473312207cfc398e5ca 100644 (file)
         ",")
        ((equal name "#")
         (search-backward "#")
-        (error "Token '#' is reserved"))
+        (error "Token ‘#’ is reserved"))
        ((and unquoted (string-match "#" name))
-        (error "Tokens containing '#' must be quoted"))
+        (error "Tokens containing ‘#’ must be quoted"))
        ((not (string-match "[^ ]" name))
         (search-backward "\"" nil t)
         (error "Blank tokens are not allowed"))
        (quoted nil))
     (while (progn
             (skip-chars-forward "\n\t ")
-            (if (eobp) (error "Expected '%s'" eterm))
+            (if (eobp) (error "Expected ‘%s’" eterm))
             (not (looking-at term)))
       (cond ((looking-at "%%")
             (end-of-line))
             (forward-char 2)
             (let ((p (calc-read-parse-table-part "}" "}")))
               (or (looking-at "[+*?]")
-                  (error "Expected '+', '*', or '?'"))
+                  (error "Expected ‘+’, ‘*’, or ‘?’"))
               (let ((sym (intern (buffer-substring (point) (1+ (point))))))
                 (forward-char 1)
                 (looking-at "[^\n\t ]*")
                                              (match-end 1)))))))
             (goto-char (match-end 0)))
            ((looking-at ":=[\n\t ]")
-            (error "Misplaced ':='"))
+            (error "Misplaced ‘:=’"))
            (t
             (looking-at "[^\n\t ]*")
             (let ((end (match-end 0)))