From 5239c19f072b68c48658d12cf796c11bd0506a35 Mon Sep 17 00:00:00 2001 From: Jakub Jankiewicz Date: Wed, 24 Jan 2024 13:36:02 +0100 Subject: [PATCH] fix typo --- src/lips.js | 2 +- tests/syntax.scm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lips.js b/src/lips.js index b1d0fcdeb..09eaeaf83 100644 --- a/src/lips.js +++ b/src/lips.js @@ -3694,7 +3694,7 @@ function extract_patterns(pattern, code, symbols, ellipsis_symbol, scope = {}) { } else if (pattern.car instanceof LSymbol && pattern.cdr instanceof Pair && LSymbol.is(pattern.cdr.car, ellipsis_symbol)) { - // empty elipsis with rest (a b ... . d) #290 + // empty ellipsis with rest (a b ... . d) #290 log('>> 8'); bindings['...'].symbols[name] = null; return traverse(pattern.cdr.cdr, code); diff --git a/tests/syntax.scm b/tests/syntax.scm index 521549d69..2a136bb16 100644 --- a/tests/syntax.scm +++ b/tests/syntax.scm @@ -1188,7 +1188,7 @@ (foo x y) (t.is (list x y) '(1 2))))) -(test "syntax: elipsis + improper list" +(test "syntax: ellipsis + improper list" (lambda (t) (define-syntax foo (syntax-rules ()