Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jan 24, 2024
1 parent 307f98d commit 5239c19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lips.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion tests/syntax.scm
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit 5239c19

Please sign in to comment.