home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 277.lha / PatternLibrary / Pattern / patternInternal.g < prev    next >
Encoding:
Text File  |  1989-08-08  |  438 b   |  24 lines

  1. type
  2.     PatternCompileError_t = enum {
  3.     pse_ok,
  4.     pse_missingPrimary,
  5.     pse_unexpectedRightParen,
  6.     pse_unexpectedOr,
  7.     pse_missingRightParen,
  8.     },
  9.  
  10.     PatternState_t = struct {
  11.     *[2]char ps_pattern;
  12.     *[2]ulong ps_compiled;
  13.     *[2]ulong ps_activeStates;
  14.     ulong ps_length;
  15.     bool ps_ignoreCase;
  16.     PatternCompileError_t ps_error;
  17.     [2] byte ps_pad;
  18.     ulong ps_position;
  19.     ulong ps_stateCount;
  20.     char ps_char;
  21.     bool ps_end;
  22.     bool ps_matched;
  23.     };
  24.