~ubuntu-branches/ubuntu/wily/aspectc++/wily

« back to all changes in this revision

Viewing changes to Puma/gen-release/step1/inc/Puma/UnitTokenSrc.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-06-15 10:17:02 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090615101702-qsr30iptwbxylmo2
Tags: 1.0pre4~svn.20090615-1
* New upstream release.
* don't ignore errors in the postrm script
* avoid spurious creation of empty dir ./usr/sbin/
* improve short descriptions of libpuma-doc and libpuma-dev
* bump Standards-Version to 3.8.1
* bump debhelper compat level to level 7 (latest in stable)

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
public:
35
35
  UnitTokenSrc (Unit &);
 
36
  void current (Token* c);
36
37
  Token *next ();
37
 
  
38
38
  Token *current () const { return _curr; }
39
39
  Unit *unit () const { return &_unit; }
40
40
};
45
45
  _first = true;
46
46
}
47
47
 
 
48
inline void UnitTokenSrc::current (Token* c) {
 
49
  _curr = c;
 
50
  _first = !c;
 
51
}
 
52
 
48
53
inline Token *UnitTokenSrc::next () {
49
54
  if (_curr)
50
55
    _curr = (Token*) _unit.next (_curr);