From 6792441f9d1de92f0b8b63877bb6eb765f7ae2f6 Mon Sep 17 00:00:00 2001 From: Jim Monte Date: Mon, 9 Dec 2019 19:23:25 -0500 Subject: [PATCH] Clarified purpose of LOTS and NLOTS macros --- src/include/ngspice/cpdefs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/ngspice/cpdefs.h b/src/include/ngspice/cpdefs.h index 8fc78dfd8..7dbfa713f 100644 --- a/src/include/ngspice/cpdefs.h +++ b/src/include/ngspice/cpdefs.h @@ -47,6 +47,9 @@ struct comm { char *co_help; }; +/* These macros are used only in definitions of commands, where they + * are used as the upper limit to the number of arguments for a command + * when that number is essentially arbitrary, with NLOTS being even more */ #define LOTS 1000 #define NLOTS 10000