Commit Graph

1915 Commits

Author SHA1 Message Date
rlar 33487b7d68 src/sharedspice.c, add ATTRIBUTE_NORETURN to function `shared_exit()' declaration 2015-12-15 22:05:14 +01:00
rlar f56fae2915 frontend/com_ghelp.c, avoid unused variables 2015-12-15 20:08:31 +01:00
rlar a1439f5d4d plotting/plotit.c, rename local variable `j' --> `y_type' 2015-12-15 19:58:11 +01:00
rlar f97e4a2a35 plotting/plotit.c, cleanup search for common y_type 2015-12-15 19:57:12 +01:00
rlar 18426c755d harmonise `struct circ' variables, `ckt' --> `ci' 2015-12-15 18:36:59 +01:00
rlar f6716af635 frontend/ftesopt.c, rename local variable `ft_curckt' --> `ci'
to avoid compiler warning:
  'ft_curckt' hides global declaration
2015-12-15 18:36:45 +01:00
rlar f826ff82f8 introduce `ATTRIBUTE_NORETURN' for `controlled_exit()' and `sp_shutdown()' 2015-12-15 18:10:18 +01:00
h_vogt ab05d9df04 numparm/spicenum.c, rename local variable `cp_out' --> `fp'
to avoid a "hides global declaration" compiler warning
2015-12-13 12:24:38 +01:00
h_vogt f7d387005f numparam/spicenum.c, bug #300, exit gracefully upon numparam error (SHARED_MODULE)
Thanks to Sergii Baitala, who reported this in
  #300 Shared ngspice: ngspice hangs on getchar
  http://sourceforge.net/p/ngspice/bugs/300/
2015-12-13 11:46:11 +01:00
rlar f33d9953b3 frontend/define.c, cleanup `ft_substdef()' 2015-11-13 20:17:18 +01:00
rlar 8f69a04833 frontend/define.c, cleanup `numargs()' 2015-11-13 20:17:17 +01:00
rlar 22d5a7124a frontend/define.c, abstraction, introduce `numargs()' 2015-11-13 20:17:16 +01:00
rlar 37979de65a frontend/define.c, trcopy(), rename `nn' --> `args' 2015-11-13 20:17:16 +01:00
rlar e99ba7478b frontend/define.c, trcopy(), rename `args' --> `arg_names' 2015-11-13 20:17:15 +01:00
rlar bc44be41ad frontend/define.c, ft_substdef(), rename `s' --> `arg_names' 2015-11-13 20:17:14 +01:00
rlar 045de93d3b frontend/define.c, cleanup `prtree1()' 2015-11-13 20:17:13 +01:00
rlar 83938330eb frontend/define.c, cleanup `prdefs()' 2015-11-13 20:17:13 +01:00
rlar e7c7e7052b frontend/define.c, cleanup `prtree()' 2015-11-13 20:17:12 +01:00
rlar 15f0f5f22f frontend/define.c, com_undefine(), rename `ludf' --> `prev_udf' 2015-11-13 20:17:11 +01:00
rlar 3be8335224 frontend/define.c, abstraction, use `strchr()' 2015-11-13 19:51:50 +01:00
rlar 501c0238d7 frontend/define.c, cleanup 2015-11-13 19:50:56 +01:00
rlar 29dde7206a frontend/parse.c, introduce `alloc_pnode()' 2015-11-12 18:32:39 +01:00
rlar 381a690cd8 frontend/define.c, ntharg(), bug fix, fix check for end of PT_OP_COMMA args list
ancient bug, yet not much of a consequence because there was already
  another check for correct arity of a function application.
("define"'ed function in the .control section)
2015-11-10 19:44:54 +01:00
rlar 97c1ec733a frontend/define.c, ntharg(), #15/15 whitespace and indentation 2015-11-07 20:26:54 +01:00
rlar a7f776872b frontend/define.c, ntharg(), #14/15 rewrite for(;;) loop 2015-11-07 20:26:45 +01:00
rlar 101b5ada81 frontend/define.c, ntharg(), #13/15 delay `num--' a bit 2015-11-07 20:26:36 +01:00
rlar 06b6237199 frontend/define.c, ntharg(), #12/15 delay `num--' a bit 2015-11-07 20:26:28 +01:00
rlar bd40bbd437 frontend/define.c, ntharg(), #11/15 `args' can't be NULL here 2015-11-07 20:26:18 +01:00
rlar cd0941367a frontend/define.c, ntharg(), #10/15 can move this up 2015-11-07 20:26:09 +01:00
rlar 3b6b71f680 frontend/define.c, ntharg(), #9/15 can move this up 2015-11-07 20:25:47 +01:00
rlar bc793fbf27 frontend/define.c, ntharg(), #8/15 this `if' condition can't be true 2015-11-07 20:25:27 +01:00
rlar e93327fdb7 frontend/define.c, ntharg(), #7/15 substitute tail of ntharg() for `break' 2015-11-07 20:25:20 +01:00
rlar e98bfc720f frontend/define.c, ntharg(), #6/15 rewrite while() --> for(;;) 2015-11-07 20:25:12 +01:00
rlar 67301b25fe frontend/define.c, ntharg(), #5/15 make use of `fact: num >= 1' 2015-11-07 20:25:04 +01:00
rlar f538b4dba3 frontend/define.c, ntharg(), #4/15 express some facts 2015-11-07 20:24:56 +01:00
rlar 71908ef194 frontend/define.c, ntharg(), #3/15 drop redundant `if', already guarded by `while' 2015-11-07 20:24:48 +01:00
rlar 8ac0329bd9 frontend/define.c, ntharg(), #2/15 minor cleanup 2015-11-07 20:24:39 +01:00
rlar f91f8c2a09 frontend/define.c, ntharg(), #1/15 drop `struct pnode *ptry', use `args' instead 2015-11-07 20:24:26 +01:00
rlar 600d289000 frontend/define.c, ntharg(), avoid segfault when out of `args'
return NULL instead
2015-11-07 20:15:53 +01:00
rlar b137930330 xpressn.c, formula(), #6/6 simplify 2015-11-07 19:11:54 +01:00
rlar a805fe6b56 xpressn.c, formula(), #5/6 whitespace and indentation 2015-11-07 19:10:25 +01:00
rlar 577352e6bb xpressn.c, formula(), #4/6 move around 2015-11-07 19:09:44 +01:00
rlar b156921ea0 xpressn.c, formula(), #3/6 refactor fetchid(), pass substring, include `upcase()' 2015-11-07 19:08:40 +01:00
rlar 1d9592c591 xpressn.c, formula(), #2/6 move dstring buildup out of `fetchid()' 2015-11-07 19:08:23 +01:00
rlar d6ce788539 xpressn.c, formula(), #1/6 upside-down an `if..else..' 2015-11-07 18:59:07 +01:00
rlar b447f26703 `E..table {expr} {pairs}', `G..', allow an optional `=' after `table' 2015-11-07 17:52:19 +01:00
rlar 7479e48f7a `E..value=', `G..value=', allow `=' being optional 2015-11-07 17:49:06 +01:00
rlar 45117c94fd drop yyparse() prototypes, require bison >= 2.7 which emits them 2015-10-18 00:46:13 +02:00
rlar 76aedfae40 numparam/xpressn.c, cleanup `getidtype()' 2015-10-11 14:21:04 +02:00
rlar 813024678d numparam/xpressn.c, cleanup `fetchnumentry()' 2015-10-11 14:02:45 +02:00