diff options
author | colin <colin@cicadas.surf> | 2023-07-19 22:11:15 -0700 |
---|---|---|
committer | colin <colin@cicadas.surf> | 2023-07-19 22:11:15 -0700 |
commit | 5cdf8f785d99d184bc8d47b4d5a7899696bf900d (patch) | |
tree | 5d5cd47bba6d5dcc7d5d9054c5bc793a632fee21 | |
parent | cd3d2712b0711505a5253328c2d9cfd75f507f42 (diff) |
ignoreing unused vars in action lambdas
-rw-r--r-- | argot.lisp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -92,7 +92,9 @@ and it returns VAR in that case." (funcall ,action ,lhs))))) ((consp action) (list :action `(lambda (,bindings-var) - (let ,bindings ,action)))))) + (let ,bindings + (declare (ignore ,lhs)) + ,action)))))) (rule-includer (name lhs pattern &optional action bindings) `(include-rule ,name |