Fix off-by-two error in keyword argument processing.
authorOlof-Joachim Frahm <olof@macrolet.net>
Sat, 15 Jun 2013 08:59:25 +0000 (10:59 +0200)
committerOlof-Joachim Frahm <olof@macrolet.net>
Sat, 15 Jun 2013 09:41:42 +0000 (11:41 +0200)
src/compiler.lisp

index 071873d..39234c1 100644 (file)
                            " && ")
                      ")" *newline*
                      (indent
-                      "throw 'Unknown keyword argument ' + xstring(arguments[i].name);" *newline*))
+                      "throw 'Unknown keyword argument ' + xstring(arguments[i+2].name);" *newline*))
              "}" *newline*)))))
 
 (defun parse-lambda-list (ll)