From 2750b076bb60ca590e03e92ce56f91061f6c8b42 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Wed, 25 Feb 2009 22:05:25 +0000 Subject: [PATCH] line 436 error message corrected --- ChangeLog | 3 +++ src/spicelib/parser/inpdomod.c | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b18b7e229..70f010dcf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2009-02-25 Holger Vogt + * inpdomod.c:436 error message adapted to existing devices + 2009-02-25 Dietmar Warning * spicelib/parser/inp2q.c,155: 5-terminal only for adms bipolars diff --git a/src/spicelib/parser/inpdomod.c b/src/spicelib/parser/inpdomod.c index 46cb80b05..4ab139186 100644 --- a/src/spicelib/parser/inpdomod.c +++ b/src/spicelib/parser/inpdomod.c @@ -430,7 +430,11 @@ char *INPdomodel(void *ckt, card * image, INPtables * tab) default: /* placeholder; use level xxx for the next model */ err = INPmkTemp - ("Only MOS device levels 1-6,8,9,14,44,49-52,55-58,62,64 are supported in this binary\n"); +#ifdef ADMS + ("Only MOS device levels 1-6,8-10,14,44,45,49,54-58,62,64 are supported in this binary\n"); +#else + ("Only MOS device levels 1-6,8-10,14,49,54-58,62,64 are supported in this binary\n"); +#endif break; } INPmakeMod(modname, type, image);