mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Rename function
This commit is contained in:
parent
947e15662a
commit
30fd74792f
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
;;
|
||||
;; TODO: call this from cyclone.scm after it works, probably after "resolve macros"
|
||||
|
||||
(define (validate-syntax exp)
|
||||
(define (validate-keyword-syntax exp)
|
||||
;; Only need to track local vars if they shadow one of our keywords
|
||||
(define (include-var? v)
|
||||
(member v '(define set! if lambda let)))
|
||||
|
@ -109,4 +109,4 @@
|
|||
;(if 1 2 3 4)
|
||||
|
||||
(let ((sexp (read-all (open-input-file "validation.scm"))))
|
||||
(validate-syntax sexp))))
|
||||
(validate-keyword-syntax sexp))))
|
||||
|
|
Loading…
Add table
Reference in a new issue