Fix &opt bug in defMacro
This commit is contained in:
@@ -494,8 +494,11 @@ class Macros {
|
||||
}
|
||||
|
||||
macroCallForm += ')';
|
||||
if (optIndex == -1)
|
||||
if (optIndex == -1) {
|
||||
optIndex = minArgs;
|
||||
} else if (restIndex == -1) {
|
||||
restIndex = optIndex + 1;
|
||||
}
|
||||
if (restIndex == -1)
|
||||
restIndex = optIndex;
|
||||
|
||||
|
Reference in New Issue
Block a user