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

« back to all changes in this revision

Viewing changes to Puma/examples/sync/sync.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:
96
96
    // and is entirely realized on token level using the token
97
97
    // list of the input file. First the corresponding include 
98
98
    // directive has to be scanned.
99
 
    Unit *pthread_inc = project.scanString("#include <pthread.h>\n");
 
99
    Puma::Unit *pthread_inc = project.scanString("#include <pthread.h>\n");
100
100
    // The resulting token list can now simply be prepended to
101
101
    // the input file's token list. Token lists are organized
102
102
    // as double-linked lists. Prepending something means to
126
126
  delete tu;
127
127
 
128
128
  // Return 1 if errors or fatal errors occurred.
129
 
  return err.severity() > sev_warning ? 1 : 0;
 
129
  return err.severity() > Puma::sev_warning ? 1 : 0;
130
130
}