diff --git a/src/frontend/numparam/numparam.h b/src/frontend/numparam/numparam.h index 85d9c99a2..71c1df6c2 100644 --- a/src/frontend/numparam/numparam.h +++ b/src/frontend/numparam/numparam.h @@ -16,7 +16,7 @@ typedef enum {Nodekey = '#'} _nNodekey; /* Introduces node symbol */ typedef enum {Intro = '&'} _nIntro; /* Introduces preprocessor tokens */ typedef enum {Comment = '*'} _nComment; /* Spice Comment lines */ typedef enum {Psp = '{'} _nPsp; /* Ps expression */ -typedef enum {Defd = 15} _nDefd; /* serial numb. of 'defined' keyword. +typedef enum {Defd = 6} _nDefd; /* serial numb. of 'defined' keyword. The others are not used (yet) */ typedef char *auxtable; /* dummy */ diff --git a/src/frontend/numparam/xpressn.c b/src/frontend/numparam/xpressn.c index 20855b8e8..77c51b81a 100644 --- a/src/frontend/numparam/xpressn.c +++ b/src/frontend/numparam/xpressn.c @@ -88,8 +88,7 @@ initkeys(void) { spice_dstring_init(&keyS); scopy_up(&keyS, - "and or not div mod if else end while macro funct defined" - " include for to downto is var"); + "and or not div mod defined"); scopy_up(&fmathS, "sqr sqrt sin cos exp ln arctan abs pow pwr max min int log sinh cosh" " tanh ternary_fcn v agauss sgn gauss unif aunif limit ceil floor"); @@ -935,7 +934,7 @@ opfunctkey(tdico *dico, /*if kw operator keyword, c=token*/ switch (kw) { - /* & | ~ DIV MOD Defined */ + /* & | ~ DIV MOD Defined */ case 1: c = '&'; state = 2;