Holger Vogt
97d9f38421
Add (enhanced) patch by Giles Atkinson
Add controlled_exit() to errors when parsing functions.
Add verbose error messages, including line number and
name of the source file.
.lib file handlinmg with its recursive structure probably needs
testing and improvements.
More error messages may need this update.
2 years ago
Holger Vogt
0266bd5894
make PTparse error message more verbose:
include point in a line where parsing failed.
5 years ago
rlar
994bec7859
declare free() / realloc() arguments `const void *'
to avoid extra casting when freeing `const' strings
10 years ago
Francesco Lannutti
ef0dcfe5f2
avoid bison dependency `version >= 2.7'
10 years ago
rlar
5706fbd890
parser/inpptree-parser.y, bug fix, allow unary `+'
reported by Andy Fierman on the ngspice-users mailing list in message
"Help to identify 'parameter value out of range or the wrong type' error please?"
11 years ago
rlar
45117c94fd
drop yyparse() prototypes, require bison >= 2.7 which emits them
11 years ago
rlar
a0a5e0f9c2
inpptree-parser.y, fix type of function `PTparse()'
11 years ago
rlar
dffcbddbba
swallow `deprecated directive' warning emitted by newer bisons
11 years ago
rlar
1c6efd9481
polish bison/flex makefile rules
11 years ago
rlar
788a5e5fa0
inpptree parser, bug fix, segfault due to usage of an unknown function
for example:
B1 1 0 V = {log(2.0, 1.3) + nosuchthing(2.0, 1.3)}
11 years ago
rlar
b32ae9f79b
.control and `B' parser, fix precedence of '-' versus '^'
-2^2 shall be -(2^2) instead of (-2)^2
13 years ago
rlar
3bb2bd8e05
fix memory leak in PTparse()
14 years ago
rlar
6ea91d2834
upgrade INPgetTree()
14 years ago
rlar
c139875468
bug fix, allow special nodenames "/Node" and "Node-4" in `B' expressions
15 years ago
rlar
830829ba56
bison files, swallow warnings
15 years ago
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
16 years ago
rlar
5412e4bfd2
convert macro `U()' to `IGNORE()'
16 years ago
rlar
0fb5f2142a
avoid function redeclaration, PPparse() and PTparse()
16 years ago
h_vogt
288e0b7214
patches R. Larice
16 years ago
h_vogt
486ae1b66e
patch R. Larice Feb. 28, add time and temper varianbles to B source
16 years ago
h_vogt
75d891e4c0
new parser for B source
16 years ago