|
From: Steven B. <ste...@di...> - 2005-04-22 21:29:14
|
Hello, Here is a patch that fixes a few things and adds a few things in the in numparams library and the front-end. This does not fix the problems just raised by Hitoshi Tanaka, which I'll look at tomorrow (assuming the garden and the Spring sunshine do not beckon). This is against what is currently in CVS. Highlights: 1. When numparams is compiled it is is off by default but can be turned on by a new variable using 'set numparams'. * End-of-line comments have been fixed and can be used on a line that is followed by a continuation line. This functionality has been moved from the numparams library and in to the front end code. All the following can be used to start a comment: ; for compatibility with PSpice $ for compatibility with HSpice // like C++, and as per numparams -- as per numparams This was a full re-write of this code, not a conversion of the numparams code. It is not dependent on the numparams library. 2. Fix a bug where the wrong argument to 'listing' would error, but still produce a listing. 3. Increased the line buffer size in numparams to 1000 (was 250). It was far to small for .model lines. I had tried 500 but found this was too short for many of my models. 4. Fixed a compile bug under window & cygwin. 5. fixed a case sensitivity problem in key-word identification 6. Added some comments, fixed some compile time warnings, hopefully I didn't brake anything. Tested under Cygwin and MacOSX Regards, Steven |