~ubuntu-branches/ubuntu/jaunty/aspectc++/jaunty

« back to all changes in this revision

Viewing changes to Puma/gen-release/step1/src/CFunctionInfo.cc

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-07-07 14:41:02 UTC
  • mfrom: (1.1.3 upstream) (6.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080707144102-lzml7t07f3sl00r5
Tags: 1.0pre4~svn.20080711-1
* new upstream snapshot.
* include all upstream documentation. Clarifying emails regarding
  licensing has been included into debian/copyright.
* reformat description following recomendations of
  http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Description
  (Closes: #480316)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "Puma/CTypeInfo.h"
26
26
#include "Puma/CConstant.h"
27
27
#include "Puma/CTree.h"
28
 
#include "Puma/CClassDatabase.h"
 
28
#include "Puma/CSemDatabase.h"
29
29
#include <string.h>
30
30
 
31
31
namespace Puma {
124
124
CArgumentInfo *CFunctionInfo::newArgument () {
125
125
  CArgumentInfo *info = new CArgumentInfo;
126
126
  info->Scope (this);
127
 
  info->ClassDB (ClassDB ());
 
127
  info->SemDB (SemDB ());
128
128
  addArgument (info);
129
129
  return info;
130
130
}
132
132
CLabelInfo *CFunctionInfo::newLabel () {
133
133
  CLabelInfo *info = new CLabelInfo;
134
134
  info->Scope (this);
135
 
  info->ClassDB (ClassDB ());
 
135
  info->SemDB (SemDB ());
136
136
  addLabel (info);
137
137
  return info;
138
138
}