rlar
8ac0329bd9
frontend/define.c, ntharg(), #2/15 minor cleanup
11 years ago
rlar
f91f8c2a09
frontend/define.c, ntharg(), #1/15 drop `struct pnode *ptry', use `args' instead
11 years ago
rlar
600d289000
frontend/define.c, ntharg(), avoid segfault when out of `args'
return NULL instead
11 years ago
rlar
b137930330
xpressn.c, formula(), #6/6 simplify
11 years ago
rlar
a805fe6b56
xpressn.c, formula(), #5/6 whitespace and indentation
11 years ago
rlar
577352e6bb
xpressn.c, formula(), #4/6 move around
11 years ago
rlar
b156921ea0
xpressn.c, formula(), #3/6 refactor fetchid(), pass substring, include `upcase()'
11 years ago
rlar
1d9592c591
xpressn.c, formula(), #2/6 move dstring buildup out of `fetchid()'
11 years ago
rlar
d6ce788539
xpressn.c, formula(), #1/6 upside-down an `if..else..'
11 years ago
rlar
b447f26703
`E..table {expr} {pairs}', `G..', allow an optional `=' after `table'
11 years ago
rlar
7479e48f7a
`E..value=', `G..value=', allow `=' being optional
11 years ago
rlar
28c0c96bbc
devices/res, introduce TCE, exponential temperature coefficient
11 years ago
rlar
45117c94fd
drop yyparse() prototypes, require bison >= 2.7 which emits them
11 years ago
rlar
76aedfae40
numparam/xpressn.c, cleanup `getidtype()'
11 years ago
rlar
813024678d
numparam/xpressn.c, cleanup `fetchnumentry()'
11 years ago
rlar
c9e8c7651f
numparam/xpressn.c, cleanup `keyword()'
11 years ago
rlar
0390736faa
xpressn.c, fetchid(), #15/15 cleanup
11 years ago
rlar
ba9c7f060b
xpressn.c, fetchid(), #14/15 rewrite
11 years ago
rlar
ff74222538
xpressn.c, fetchid(), #13/15 local scope
11 years ago
rlar
9041bf93ca
xpressn.c, fetchid(), #12/15 use fact
11 years ago
rlar
c8020f4811
xpressn.c, fetchid(), #11/15 reorder
11 years ago
rlar
880b41bb7f
xpressn.c, fetchid(), #10/15 rewrite
11 years ago
rlar
16b53e3784
xpressn.c, fetchid(), #9/15 reorder
11 years ago
rlar
3fea077ebe
xpressn.c, fetchid(), #8/15 rewrite
11 years ago
rlar
aa87d90ba9
xpressn.c, fetchid(), #7/15 use fact
11 years ago
rlar
9a69f79feb
xpressn.c, fetchid(), #6/15 use fact
11 years ago
rlar
16496f8ff7
xpressn.c, fetchid(), #5/15 express some facts
11 years ago
rlar
cc68d8fadb
xpressn.c, fetchid(), #4/15 use fact
11 years ago
rlar
e8fa81e382
xpressn.c, fetchid(), #3/15 express some facts
11 years ago
rlar
7142e0e1fc
xpressn.c, fetchid(), #2/15 rename `iptr' --> `s'
11 years ago
rlar
af0ba9bed5
xpressn.c, fetchid(), #1/15 swap arguments
11 years ago
rlar
0178dcd5f3
remove bison generated files from the repository
Their presence breaks automake rules when running
in a separate build directory.
And when regenerated cause unwanted "changed files"
in the repository.
As a consequence visual C compilation will fail.
It will still work with a "make dist" generated tar ball.
We need to upgrade the visual C project files
to invoke bison and flex on windows,
or we have to provide these generated files
in a visual C specific directory. (very annoying of course)
11 years ago
rlar
2f061b441e
Makefile.am, fix dependency rules for bison generated files
which have been lost in commit
> Date: Sun Jul 5 19:34:25 2015 +0200
>
> polish bison/flex makefile rules
11 years ago
rlar
a0a5e0f9c2
inpptree-parser.y, fix type of function `PTparse()'
11 years ago
dwarning
1b4aa22d0d
Update some level and version entries for MOS models
11 years ago
rlar
73731bdf77
frontend/plotting/plotit.c, cleanup, reduce scope of `struct dvec *dv'
11 years ago
rlar
a4c7dff570
frontend/define.c, rewrite `struct udfunc' insertion
11 years ago
rlar
a5f933b3ec
frontend/parse.c, bug fix, PPlex(.."dc1.@m1[vth][1]"..)
The whole string was lexed into only one TOK_STR
instead of the actual (quasi) identifier "dc1.@m1[vth]"
11 years ago
rlar
192eeadb0b
remove crufty comments which where used to support broken text editors
11 years ago
mhx
a324d86878
inpcom.c, allow `temper' to be recognised when preceded by '='
11 years ago
rlar
45bec4b8eb
inpcom.c, strip braces in `inp_get_func_from_line()'
11 years ago
rlar
2ac726b265
inpcom.c, rename `struct function' member `macro' --> `body'
11 years ago
rlar
dffcbddbba
swallow `deprecated directive' warning emitted by newer bisons
11 years ago
rlar
2e023a6be7
inpcom.c, cleanup `inp_new_func()'
especially avoid local state in a function local static variable
11 years ago
rlar
56312b7872
inpcom.c, cleanup `inp_rem_func()'
11 years ago
rlar
db9eb23b7d
inpcom.c, bug fix, avoid segfault when `.ends' is missing
11 years ago
rlar
61724121aa
res/restemp.c, bug fix, need to update `RESresist' in `REStemp()'
instead of `RESsetup()'
to be effective when altering a resistor model parameter or when
sweeping a resistor model parameter in a dc analysis.
see tests/regression/temper/temper-3.cir
11 years ago
rlar
5940bf9294
analysis/dctrcurv.c, bug fix, sweeping `temper' in a dc analysis
incorrect update of model parameters,
need to `invoke CKTtemp()' *after* `inp_evaluate_temper()'
see tests/regression/temper/temper-2.cir
11 years ago
rlar
fc6455ca99
inp.c, bug fix, `temper' in a model parameter, missing INPretrieve() invocation
The model name needs to be transformed into a `IFuid'
before it can be searched for with `findModel()'
see tests/regression/temper/temper-1.cir
11 years ago
rlar
0c0bc4079f
configure.ac, allow cross-compilation, especially for MinGW-w64
notably on debian gnu/linux with package `mingw-w64'
cross-compile a mingw 32bit windows executable with this incantation:
(compile "
./autogen.sh
rm -rf tmp-build tmp-output
mkdir -p tmp-build tmp-output
( cd tmp-build && ../configure \
--build=$(../config.guess) \
--host=i686-w64-mingw32 \
--prefix='c:/spice' \
--exec-prefix='c:/spice'\
--with-windows --enable-xspice --enable-cider --disable-debug )
LC_ALL=C make -C tmp-build -k -j6
LC_ALL=C make -C tmp-build -k -j6 DESTDIR=$(pwd)/tmp-output/ install
(cd 'tmp-output/c:/' && zip -r - .) > tmp-output.zip
")
compilation to Win64 works the same way, with
--host=x86_64-w64-mingw32
The tmp-output.zip directory structure resembles the
structure of our original sourceforge ngspice-26_140112.zip windows package
ready to be unzip'ed in c:/
Though the testfiles, examples and documentation is missing.
11 years ago