/[ascend]/trunk/base/generic/packages/kvalues.c
ViewVC logotype

Diff of /trunk/base/generic/packages/kvalues.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 420 by johnpye, Fri Mar 31 08:52:57 2006 UTC revision 421 by ben.allan, Mon Apr 3 17:26:22 2006 UTC
# Line 23  the program; if not, write to the Free S Line 23  the program; if not, write to the Free S
23  Mass Ave, Cambridge, MA 02139 USA.  Check the file named COPYING.  Mass Ave, Cambridge, MA 02139 USA.  Check the file named COPYING.
24  \*********************************************************************/  \*********************************************************************/
25  #include <utilities/ascConfig.h>  #include <utilities/ascConfig.h>
26    #include <compiler/compiler.h>
27  #include <compiler/packages.h>  #include <compiler/packages.h>
28    #include <compiler/instance_enum.h>
29    #include <compiler/fractions.h>
30    #include <compiler/compiler.h>
31    #include <compiler/dimen.h>
32    #include <compiler/types.h>
33    #include <general/list.h>
34    #include <compiler/sets.h>
35  #include <compiler/atomvalue.h>  #include <compiler/atomvalue.h>
36  #include <compiler/parentchild.h>  #include <compiler/parentchild.h>
37  #include <compiler/instquery.h>  #include <compiler/instquery.h>
38  #include <compiler/instance_name.h>  #include <compiler/instance_name.h>
39    #include <compiler/symtab.h>
40    #include <math.h>
41    
42  #define KVALUES_DEBUG 1  #define KVALUES_DEBUG 1
43    
# Line 135  static int GetComponentData(struct Insta Line 145  static int GetComponentData(struct Insta
145    unsigned long pos,c;    unsigned long pos,c;
146    unsigned long nch;    unsigned long nch;
147    char *component;    char *component;
148      symchar *s_component = NULL;
149    
150    SetInstanceNameStrPtr(name,"components");    s_component = AddSymbol("components");
151      SetInstanceNameStrPtr(name,s_component);
152    SetInstanceNameType(name,StrName);    SetInstanceNameType(name,StrName);
153    
154    if (!data) {    if (!data) {

Legend:
Removed from v.420  
changed lines
  Added in v.421

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22