summaryrefslogtreecommitdiff
path: root/src/util.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.lisp')
-rw-r--r--src/util.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util.lisp b/src/util.lisp
new file mode 100644
index 0000000..87e4df9
--- /dev/null
+++ b/src/util.lisp
@@ -0,0 +1,5 @@
+(in-package #:util)
+
+(defun asm-extension? (file)
+ "Returns t if FILE is extended with .asm, nil otherwise."
+ (string= (pathname-type file) "asm"))