git » jacl.git » commit 6bd1b12

Fix after-&REST/&BODY parsing

author Alan Dipert
2020-07-03 14:06:15 UTC
committer Alan Dipert
2020-07-03 14:06:15 UTC
parent 887b82dda30cb1f8d10fe3197d160a166d4247df

Fix after-&REST/&BODY parsing

jacl.js +1 -1

diff --git a/jacl.js b/jacl.js
index ac3cd7c..7f922e0 100644
--- a/jacl.js
+++ b/jacl.js
@@ -1147,7 +1147,7 @@ const parseLambdaList = (list, isMacro) => {
         if (!(x instanceof LispSymbol))
           throw new Error(`&${state.toUpperCase()} parameter not a symbol`);
         sections[state] = x;
-        state = 'after-${state}';
+        state = `after-${state}`;
         break;
       case 'after-body':
       case 'after-rest':