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

« back to all changes in this revision

Viewing changes to Puma/src/parser/Syntax.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:
55
55
    result = (token && token->type () == token_type);
56
56
  } else {
57
57
    state = token_provider->get_state ();
58
 
    while ((--n) > 0)
 
58
    while ((--n) > 0) {
59
59
      token_provider->next ();
 
60
      locate_token ();
 
61
    }
60
62
    token = token_provider->current ();
61
63
    result = (token && token->type () == token_type);
62
64
    token_provider->set_state (state);
83
85
    }
84
86
  } else {
85
87
    state = token_provider->get_state ();
86
 
    while ((--n) > 0)
 
88
    while ((--n) > 0) {
87
89
      token_provider->next ();
 
90
      locate_token ();
 
91
    }
88
92
    token = token_provider->current ();
89
93
    if (token) {
90
94
      while (*token_types) {