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

« back to all changes in this revision

Viewing changes to Puma/src/scanner/OrangeRecognizer.h

  • 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:
22
22
// The token recognizer class, which uses scanner tables generated by the
23
23
// orange tool.
24
24
 
25
 
#include "Puma/ScanBuffer.h"
26
 
 
27
25
namespace Puma {
28
26
 
29
27
 
74
72
  int  LookAheadLen;
75
73
  int  AcceptLen;
76
74
  int  AcceptState;
77
 
  ScanBuffer::State buffer_state = ScanBuffer::STATE_OK;
 
75
  typename TScanBuffer::State buffer_state = TScanBuffer::STATE_OK;
78
76
 
79
77
  State = _start;
80
78
  AcceptState = -1;
107
105
      LookAheadLen = scan_buffer->len ();
108
106
 
109
107
    buffer_state = scan_buffer->state ();
110
 
  } while (NextState != -1 && buffer_state == ScanBuffer::STATE_OK);
 
108
  } while (NextState != -1 && buffer_state == TScanBuffer::STATE_OK);
111
109
 
112
 
  if (buffer_state == ScanBuffer::STATE_ERROR)
 
110
  if (buffer_state == TScanBuffer::STATE_ERROR)
113
111
    return -1;
114
112
 
115
113
  if (AcceptState == -1)