Unified · Split
| @@ -267,6 +267,8 @@ _Noreturn void sl_divide_by_0_error(void); · 266 unmodified lines | |||
| 267 | 267 | ||
| 268 | #define argcount(c) \ | 268 | #define argcount(c) \ |
| 269 | do{ \ | 269 | do{ \ |
| 270 | if((c) == 0) \ | ||
| 271 | USED(args); \ | ||
| 270 | if(sl_unlikely(nargs != (c))) \ | 272 | if(sl_unlikely(nargs != (c))) \ |
| 271 | bthrow(arity_error(nargs, (c), sl_nil)); \ | 273 | bthrow(arity_error(nargs, (c), sl_nil)); \ |
| 272 | }while(0) | 274 | }while(0) |