Commit eb90d844 authored by Jay Belanger's avatar Jay Belanger
Browse files

(math-check-known-scalarp): Make sure expression is a symbol before

checking that it is bound.
parent 1324d26e
...@@ -334,6 +334,7 @@ ...@@ -334,6 +334,7 @@
((memq 'scalar (nth 1 decl)) ((memq 'scalar (nth 1 decl))
t) t)
((and (eq (car a) 'var) ((and (eq (car a) 'var)
(symbolp (nth 2 a))
(boundp (nth 2 a)) (boundp (nth 2 a))
(setq val (symbol-value (nth 2 a)))) (setq val (symbol-value (nth 2 a))))
(math-check-known-scalarp val)) (math-check-known-scalarp val))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment