Browse Source

bison files, swallow warnings

rlar 15 years ago
parent
commit
830829ba56
  1. 5
      ChangeLog
  2. 1
      src/frontend/parse-bison.y
  3. 5
      src/spicelib/parser/inpptree-parser.y

5
ChangeLog

@ -1,3 +1,8 @@
2011-08-13 Robert Larice
* src/frontend/parse-bison.y ,
* src/spicelib/parser/inpptree-parser.y :
bison files, swallow warnings
2011-08-12 Robert Larice
* src/spicelib/devices/adms/admst/ngspice.xml ,
* src/spicelib/devices/adms/admst/ngspiceMakefile.am.xml :

1
src/frontend/parse-bison.y

@ -101,6 +101,7 @@
%initial-action /* initialize yylval */
{
$$.num = 0.0;
yylloc.start = yylloc.stop = NULL;
};
%%

5
src/spicelib/parser/inpptree-parser.y

@ -53,6 +53,11 @@
%left '^' /* exponentiation */
%left NEG '!' /* negation--unary minus, and boolean not */
%initial-action /* initialize yylval */
{
$$.num = 0.0;
};
%%
expression:

Loading…
Cancel
Save