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

« back to all changes in this revision

Viewing changes to Puma/gen-release/step1/src/KeywordRecognizer.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:
17
17
// MA  02111-1307  USA                                            
18
18
 
19
19
#include "Puma/KeywordRecognizer.h"
20
 
#include "Puma/ScanBuffer.h"
21
20
#include <ctype.h>
22
21
 
23
22
namespace Puma {
30
29
  // that makes it an identifier instead of a keyword
31
30
  if (result == 1) {
32
31
    scan_buffer->more (len);
33
 
    if (scan_buffer->state () == ScanBuffer::STATE_OK) { 
 
32
    if (scan_buffer->state () == CScanBuffer::STATE_OK) { 
34
33
      char next = scan_buffer->next ();
35
34
      if (isalnum ((int)next) || next == '_')
36
35
        result = 0;