Skip to content

Commit 794be1a

Browse files
committed
Fix nasm version check
Recently updated to nasm 3.01 and the previous check started to fail.
1 parent e93b286 commit 794be1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

a86/check-nasm.rkt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ HERE
3939

4040
(define (nasm-version-2.15+?)
4141
(match (nasm-version)
42-
[(list maj min) (and (>= maj 2) (>= min 15))]
42+
[(list maj min)
43+
(or (and (= maj 2) (>= min 15))
44+
(> maj 2))]
4345
[_ #f]))
4446

4547
;; -> [Maybe (list Natural Natural)]

0 commit comments

Comments
 (0)