/[grep]/grep/src/dfa.h
ViewVC logotype

Diff of /grep/src/dfa.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by alainm, Wed Mar 7 04:11:27 2001 UTC revision 1.8 by kasal, Thu Dec 16 08:19:29 2004 UTC
# Line 150  typedef enum Line 150  typedef enum
150    
151  #ifdef MBS_SUPPORT  #ifdef MBS_SUPPORT
152    ANYCHAR,                     /* ANYCHAR is a terminal symbol that matches    ANYCHAR,                     /* ANYCHAR is a terminal symbol that matches
153                                    any multibyte(or singlebyte) characters.                                    any multibyte (or single byte) characters.
154                                    It is used only if MB_CUR_MAX > 1.  */                                    It is used only if MB_CUR_MAX > 1.  */
155    
156    MBCSET,                       /* MBCSET is similar to CSET, but for    MBCSET,                       /* MBCSET is similar to CSET, but for
# Line 305  struct dfa Line 305  struct dfa
305    int *multibyte_prop;    int *multibyte_prop;
306    /* The value of multibyte_prop[i] is defined by following rule.    /* The value of multibyte_prop[i] is defined by following rule.
307         if tokens[i] < NOTCHAR         if tokens[i] < NOTCHAR
308           bit 1 : tokens[i] is a singlebyte character, or the last-byte of           bit 1 : tokens[i] is a single byte character, or the last-byte of
309                   a multibyte character.                   a multibyte character.
310           bit 0 : tokens[i] is a singlebyte character, or the 1st-byte of           bit 0 : tokens[i] is a single byte character, or the 1st-byte of
311                   a multibyte character.                   a multibyte character.
312         if tokens[i] = MBCSET         if tokens[i] = MBCSET
313           ("the index of mbcsets correspnd to this operator" << 2) + 3           ("the index of mbcsets correspnd to this operator" << 2) + 3

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26