[Pkg-electronics-commits] [gnucap] 09/47: trace-fix: "itested" update status .. is tested

felix salfelder felix-guest at moszumanska.debian.org
Mon Sep 26 10:34:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository gnucap.

commit bf9b2d975758535c86a67313de9d02bf3356a1bd
Author: al davis <ad211 at freeelectron.net>
Date:   Sun Sep 11 19:53:18 2016 -0400

    trace-fix:  "itested" update status .. is tested
---
 apps/c_list.cc        |  6 +++---
 apps/d_res.cc         |  4 ++--
 apps/d_vs.cc          |  4 ++--
 apps/s__init.cc       |  6 +++---
 apps/s_ac.cc          | 10 +++++-----
 include/d_subckt.h    |  6 +++---
 include/e_elemnt.h    |  4 ++--
 include/u_parameter.h |  4 ++--
 lib/ap_construct.cc   |  4 ++--
 lib/ap_error.cc       |  8 ++++----
 lib/ap_get.cc         |  4 ++--
 lib/c__cmd.cc         |  8 ++++----
 lib/d_subckt.cc       |  4 ++--
 lib/u_probe.cc        |  4 ++--
 main/main.cc          |  4 ++--
 15 files changed, 40 insertions(+), 40 deletions(-)

diff --git a/apps/c_list.cc b/apps/c_list.cc
index af9340e..0386b2f 100644
--- a/apps/c_list.cc
+++ b/apps/c_list.cc
@@ -1,4 +1,4 @@
-/*$Id: c_list.cc,v 26.133 2009/11/26 04:58:04 al Exp $ -*- C++ -*-
+/*$Id: c_list.cc  2016/09/11 $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -42,8 +42,8 @@ void list_save(CS& cmd, OMSTREAM out, CARD_LIST* scope)
   case rPRESET:
     /* do nothing */
     return;
-  case rBATCH:		itested();
-  case rINTERACTIVE:	itested();
+  case rBATCH:
+  case rINTERACTIVE:
   case rSCRIPT:
     /* keep going */
     break;
diff --git a/apps/d_res.cc b/apps/d_res.cc
index f340666..8b1d76f 100644
--- a/apps/d_res.cc
+++ b/apps/d_res.cc
@@ -1,4 +1,4 @@
-/*$Id: d_res.cc,v 26.137 2010/04/10 02:37:05 al Exp $ -*- C++ -*-
+/*$Id: d_res.cc  2016/09/11  $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -61,7 +61,7 @@ private: // override virtual
   void	   ac_load()		{ac_load_passive();}
   COMPLEX  ac_involts()const	{return ac_outvolts();}
 
-  std::string port_name(int i)const {itested();
+  std::string port_name(int i)const {
     assert(i >= 0);
     assert(i < 2);
     static std::string names[] = {"p", "n"};
diff --git a/apps/d_vs.cc b/apps/d_vs.cc
index 853e8b8..e663c97 100644
--- a/apps/d_vs.cc
+++ b/apps/d_vs.cc
@@ -1,4 +1,4 @@
-/*$Id: d_vs.cc 2016/03/25 al $ -*- C++ -*-
+/*$Id: d_vs.cc 2016/09/11 al $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -119,7 +119,7 @@ bool DEV_VS::do_tr()
     q_load();
     _m0.c0 = -_loss0 * _y[0].f1;
     assert(_m0.c1 == 0.);
-  }else{itested();
+  }else{
     assert(conchk(_loss0, 1./OPT::shortckt));
     assert(_y[0].x == 0.);
     assert(_y[0].f0 == 0.);
diff --git a/apps/s__init.cc b/apps/s__init.cc
index 75adf4a..6f99c55 100644
--- a/apps/s__init.cc
+++ b/apps/s__init.cc
@@ -51,8 +51,8 @@ void SIM::command_base(CS& cmd)
 
     switch (ENV::run_mode) {
     case rPRE_MAIN:	unreachable();	break;
-    case rBATCH:	itested();
-    case rINTERACTIVE:	itested();
+    case rBATCH:
+    case rINTERACTIVE:
     case rSCRIPT:	sweep();	break;
     case rPRESET:	/*nothing*/	break;
     }
@@ -73,7 +73,7 @@ SIM::~SIM()
   //assert(!_scope);
   if (_sim) {
     _sim->uninit();
-  }else{itested();
+  }else{
   }
 }
 /*--------------------------------------------------------------------------*/
diff --git a/apps/s_ac.cc b/apps/s_ac.cc
index cef10a8..e8112c4 100644
--- a/apps/s_ac.cc
+++ b/apps/s_ac.cc
@@ -1,4 +1,4 @@
-/*$Id: s_ac.cc 2016/03/28 al $ -*- C++ -*-
+/*$Id: s_ac.cc 2016/09/11 al $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -85,10 +85,10 @@ void AC::do_it(CS& Cmd, CARD_LIST* Scope)
 
     switch (ENV::run_mode) {
     case rPRE_MAIN:	unreachable();	break;
-    case rBATCH:		itested();
-    case rINTERACTIVE:	itested();
-    case rSCRIPT:		sweep();	break;
-    case rPRESET:		/*nothing*/	break;
+    case rBATCH:
+    case rINTERACTIVE:
+    case rSCRIPT:	sweep();	break;
+    case rPRESET:	/*nothing*/	break;
     }
   }catch (Exception& e) {untested();
     error(bDANGER, e.message() + '\n');
diff --git a/include/d_subckt.h b/include/d_subckt.h
index 2f93f04..0c193e5 100644
--- a/include/d_subckt.h
+++ b/include/d_subckt.h
@@ -1,4 +1,4 @@
-/*$Id: d_subckt.h,v 26.134 2009/11/29 03:47:06 al Exp $ -*- C++ -*-
+/*$Id: d_subckt.h  2016/09/11 $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -89,8 +89,8 @@ private: // override virtual
   double	tr_probe_num(const std::string&)const;
   int param_count_dont_print()const {return common()->COMMON_COMPONENT::param_count();}
 
-  std::string port_name(int i)const {itested();
-    if (_parent) {itested();
+  std::string port_name(int i)const {
+    if (_parent) {
       return _parent->port_value(i);
     }else{itested();
       return "";
diff --git a/include/e_elemnt.h b/include/e_elemnt.h
index bd170f5..9824624 100644
--- a/include/e_elemnt.h
+++ b/include/e_elemnt.h
@@ -1,4 +1,4 @@
-/*$Id: e_elemnt.h,v 26.133 2009/11/26 04:58:04 al Exp $ -*- C++ -*-
+/*$Id: e_elemnt.h 2016/09/11 04:58:04 al Exp $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -265,7 +265,7 @@ inline void ELEMENT::ac_load_source()
   }
   if (_n[OUT1].m_() != 0) {
     _n[OUT1]->iac() -= mfactor() * _acg;
-  }else{itested();
+  }else{
   }
 }
 /*--------------------------------------------------------------------------*/
diff --git a/include/u_parameter.h b/include/u_parameter.h
index 321eec9..e36aefe 100644
--- a/include/u_parameter.h
+++ b/include/u_parameter.h
@@ -1,4 +1,4 @@
-/*$Id: u_parameter.h 2014.11.25 $ -*- C++ -*-
+/*$Id: u_parameter.h 2016.09.11 $ -*- C++ -*-
  * Copyright (C) 2005 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -284,7 +284,7 @@ T PARAMETER<T>::e_val(const T& def, const CARD_LIST* scope)const
     // anything else means look up the value
     if (recursion <= OPT::recursion) {
       _v = lookup_solve(def, scope);
-      if (_v == NOT_INPUT) {itested();
+      if (_v == NOT_INPUT) {
 	error(bDANGER, "parameter " + *first_name + " value is \"NOT_INPUT\"\n");
 	//BUG// needs to show scope
 	//BUG// it is likely to have a numeric overflow resulting from the bad value
diff --git a/lib/ap_construct.cc b/lib/ap_construct.cc
index e63d049..480457a 100644
--- a/lib/ap_construct.cc
+++ b/lib/ap_construct.cc
@@ -1,4 +1,4 @@
-/*$Id: ap_construct.cc,v 26.130 2009/11/15 21:51:59 al Exp $ -*- C++ -*-
+/*$Id: ap_construct.cc  2016/09/11 $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -243,7 +243,7 @@ static std::string getlines(FILE *fileptr)
     }else{
       trim(buffer);
       size_t count = strlen(buffer);
-      if (buffer[count-1] == '\\') {itested();
+      if (buffer[count-1] == '\\') {
 	buffer[count-1] = '\0';
       }else{
 	// look ahead at next line
diff --git a/lib/ap_error.cc b/lib/ap_error.cc
index aa69490..d175351 100644
--- a/lib/ap_error.cc
+++ b/lib/ap_error.cc
@@ -1,4 +1,4 @@
-/*$Id: ap_error.cc,v 26.122 2009/09/23 11:23:50 al Exp $ -*- C++ -*-
+/*$Id: ap_error.cc  2016/09/11 $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -38,10 +38,10 @@ CS & CS::check(int badness, const std::string& message)
 {
   skipbl();
   switch (peek()) {
-  case '/': _ok = umatch("//"); skip(); break;
+  case '/':	_ok = umatch("//"); skip(); break;
   case ';':
-  case '\'':	itested(); _ok = true;  skip();     break;
-  case '\0':		    _ok = true;		     break;
+  case '\'':	_ok = true;  skip(); break;
+  case '\0':	_ok = true; break;
   default:	_ok = false; warn(badness, message); break;
   }
   return *this;
diff --git a/lib/ap_get.cc b/lib/ap_get.cc
index f8d853f..e274e85 100644
--- a/lib/ap_get.cc
+++ b/lib/ap_get.cc
@@ -1,4 +1,4 @@
-/*$Id: ap_get.cc 2016/03/23 al $ -*- C++ -*-
+/*$Id: ap_get.cc 2016/09/11 $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -30,7 +30,7 @@
 bool Get(CS& cmd, const std::string& key, bool* val)
 {
   if (cmd.umatch(key + ' ')) {
-    if (cmd.skip1b('=')) {itested();
+    if (cmd.skip1b('=')) {
       cmd >> *val;
     }else{
       *val = true;
diff --git a/lib/c__cmd.cc b/lib/c__cmd.cc
index 606da23..b0c979d 100644
--- a/lib/c__cmd.cc
+++ b/lib/c__cmd.cc
@@ -1,4 +1,4 @@
-/*$Id: c__cmd.cc,v 26.137 2010/04/10 02:37:33 al Exp $ -*- C++ -*-
+/*$Id: c__cmd.cc  2016/09/11 $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -53,7 +53,7 @@ void CMD::cmdproc(CS& cmd, CARD_LIST* scope)
   // Map possible short names to full ones.
   // If this if/else block is removed, the only loss is the short names.
   // Although it looks like it can be used to make aliases, don't.
-  if (cmd.umatch("'|*|#|//|\""))	{itested();  s = "xxxxcomment";}
+  if (cmd.umatch("'|*|#|//|\""))	{	     s = "xxxxcomment";}
   else if (cmd.umatch("b{uild} "))      {itested();  s = "build";}
   else if (cmd.umatch("del{ete} "))     {            s = "delete";}
   else if (cmd.umatch("fo{urier} "))    {            s = "fourier";}
@@ -76,7 +76,7 @@ void CMD::cmdproc(CS& cmd, CARD_LIST* scope)
     didsomething = false;
   }
 
-  if (s == "xxxxcomment") {itested();
+  if (s == "xxxxcomment") {
     // nothing
   }else if (s != "") {
     CMD* c = command_dispatcher[s];
@@ -86,7 +86,7 @@ void CMD::cmdproc(CS& cmd, CARD_LIST* scope)
     }else{itested();
       cmd.warn(bWARNING, here, "what's this?");
     }
-  }else if (!didsomething) {itested();
+  }else if (!didsomething) {
     cmd.check(bWARNING, "bad command");
     didsomething = false;
   }else{itested();
diff --git a/lib/d_subckt.cc b/lib/d_subckt.cc
index 8787c1a..8bbc3f5 100644
--- a/lib/d_subckt.cc
+++ b/lib/d_subckt.cc
@@ -1,4 +1,4 @@
-/*$Id: d_subckt.cc,v 26.138 2013/04/24 03:03:11 al Exp $ -*- C++ -*-
+/*$Id: d_subckt.cc  2016/09/11  $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -141,7 +141,7 @@ MODEL_SUBCKT::~MODEL_SUBCKT()
 }
 /*--------------------------------------------------------------------------*/
 CARD* MODEL_SUBCKT::clone_instance()const
-{itested();
+{
   DEV_SUBCKT* new_instance = dynamic_cast<DEV_SUBCKT*>(p1.clone());
   new_instance->_parent = this;
   return new_instance;
diff --git a/lib/u_probe.cc b/lib/u_probe.cc
index db77cef..ffbedfa 100644
--- a/lib/u_probe.cc
+++ b/lib/u_probe.cc
@@ -1,4 +1,4 @@
-/*$Id: u_probe.cc 2016/03/23 al $ -*- C++ -*-
+/*$Id: u_probe.cc 2016/09/11 al $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -65,7 +65,7 @@ PROBE& PROBE::operator=(const PROBE& p)
   _hi   = p._hi;
   if (_brh) {
     _brh->inc_probes();
-  }else{itested();
+  }else{
   }
   return *this;
 }
diff --git a/main/main.cc b/main/main.cc
index ee1ebe8..741f4d4 100644
--- a/main/main.cc
+++ b/main/main.cc
@@ -1,4 +1,4 @@
-/*$Id: main.cc 2015/01/21 al $ -*- C++ -*-
+/*$Id: main.cc 2016/09/11 al $ -*- C++ -*-
  * Copyright (C) 2001 Albert Davis
  * Author: Albert Davis <aldavis at gnu.org>
  *
@@ -196,7 +196,7 @@ static void process_cmd_line(int argc, const char *argv[])
 	  CMD::command(std::string("attach ") + argv[ii++], &CARD_LIST::card_list);
 	}else{untested();
 	}
-      }else{itested();
+      }else{
 	CMD::command(std::string("include ") + argv[ii++], &CARD_LIST::card_list);
       }
     }catch (Exception_Quit& e) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git



More information about the Pkg-electronics-commits mailing list