~ubuntu-branches/ubuntu/maverick/aspectc++/maverick

« back to all changes in this revision

Viewing changes to Puma/src/manip/CTreeMatcher.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:
155
155
  int sign_f = 0, sign_l = 0;
156
156
 
157
157
  if (f) {
158
 
    sign_f = (f->token ()->text ().c_str ()[0] == '-') ? -1 : 1;
 
158
    sign_f = (f->token ()->text ()[0] == '-') ? -1 : 1;
159
159
    f = f->Son (f->Sons () - 1);
160
160
  }
161
161
  if (l) {
162
 
    sign_l = (l->token ()->text ().c_str ()[0] == '-') ? -1 : 1;
 
162
    sign_l = (l->token ()->text ()[0] == '-') ? -1 : 1;
163
163
    l = l->Son (l->Sons () - 1);
164
164
  }
165
165
 
234
234
  if (mt->NodeName () != CT_String::NodeId ())
235
235
    return 0;
236
236
 
237
 
  char *string = StrCol::dup (mt->token ()->text ().c_str () + 1);
 
237
  char *string = StrCol::dup (mt->token ()->text () + 1);
238
238
  string[strlen (string) - 1] = '\0';
239
239
    
240
240
  RegComp compare (string);