Commit 07283590b4dd2100403ee7527a0614a44b09ae00

Thomas de Grivel 2015-07-23T18:43:25

Fix for specified-properties.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/core/spec.lisp b/core/spec.lisp
index f3fa3a8..577f291 100644
--- a/core/spec.lisp
+++ b/core/spec.lisp
@@ -30,7 +30,9 @@
 (defmethod (setf specified-property) (value
 				      (res resource)
 				      (property symbol))
-  (setf (get-property property (specified-properties res)) value))
+  (let ((p (specified-properties res)))
+    (setf (get-property property p) value)
+    (setf (specified-properties res) p)))
 
 ;;  Parse specifications