~ubuntu-branches/ubuntu/quantal/aspectc++/quantal

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
    else if (tok == TOK_ID) {
152
152
      ErrorStream err;
153
153
      CCNameLookup nl (err);
154
 
      nl.lookup (_intro->Entry (pos)->token ()->text (),
 
154
      nl.lookup (_intro->Entry (pos)->token ()->dtext (),
155
155
        lookup_scope->Structure (), !last_scope);
156
156
      CObjectInfo *obj = nl.Objects () ? nl.Object (0) : (CObjectInfo*)0;
157
157
      if (obj && obj->ScopeInfo ()) {
192
192
  // a special name?
193
193
  if (names >= 2) {
194
194
    // qualified constructor name?
195
 
    const DString &last_name = _intro->Entry (pos - 1)->token ()->text ();
196
 
    if (last_name == _intro->Entry (pos - 3)->token ()->text ()) {
 
195
    const DString &last_name = _intro->Entry (pos - 1)->token ()->dtext ();
 
196
    if (last_name == _intro->Entry (pos - 3)->token ()->dtext ()) {
197
197
      is_declarator = true;
198
198
    }
199
199
    // qualified destructor name?
200
200
    else if (is_destructor &&
201
 
             last_name == _intro->Entry (pos - 4)->token ()->text ()) {
 
201
             last_name == _intro->Entry (pos - 4)->token ()->dtext ()) {
202
202
      is_declarator = true;
203
203
    }
204
204
    if (is_declarator && is_decl_name &&
343
343
  if (ttype (pos) == TOK_EXPLICIT)
344
344
    pos++;
345
345
  if (ttype (pos) == TOK_ID &&
346
 
    _intro->Entry (pos)->token ()->text () == _current_scope->Name ()) {
 
346
    _intro->Entry (pos)->token ()->dtext () == _current_scope->Name ()) {
347
347
     int name_pos = pos;
348
348
     pos++;
349
349
     if (constructor_args (pos)) {
358
358
  if (ttype (pos) == TOK_TILDE) {
359
359
    pos++;
360
360
    if (ttype (pos) == TOK_ID &&
361
 
      _intro->Entry (pos)->token ()->text () == _current_scope->Name ()) {
 
361
      _intro->Entry (pos)->token ()->dtext () == _current_scope->Name ()) {
362
362
      int name_pos = pos;
363
363
      pos++;
364
364
      if (ttype (pos) == TOK_OPEN_ROUND && ttype (pos + 1) == TOK_CLOSE_ROUND) {