Commit adcc6077a948cb78ef0419ad843109af65c52200

Thomas de Grivel 2020-04-22T15:08:39

fix include

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/core/include.lisp b/core/include.lisp
index c9672fe..7ba658e 100644
--- a/core/include.lisp
+++ b/core/include.lisp
@@ -23,8 +23,8 @@
            (let ((path (str parts)))
              (when (probe-file path)
                (return-from include/resolve-filename path)))))
-    (try spec)
-    (try spec ".adams")))
+    (try spec ".adams")
+    (try spec)))
 
 (defun include/resolve-filename! (spec)
   (or (include/resolve-filename spec)