/[pcre]/code/trunk/pcre_internal.h
ViewVC logotype

Diff of /code/trunk/pcre_internal.h

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

revision 1041 by ph10, Sun Sep 16 10:16:27 2012 UTC revision 1043 by ph10, Sun Sep 16 16:22:35 2012 UTC
# Line 842  NOTE: These values are also used explici Line 842  NOTE: These values are also used explici
842  \h, \H, \v and \V in a character class, so any changes here should be  \h, \H, \v and \V in a character class, so any changes here should be
843  duplicated there as well. They also appear in pcre_jit_compile.c. */  duplicated there as well. They also appear in pcre_jit_compile.c. */
844    
845    /* ------ ASCII/Unicode environments ------ */
846    
847  #ifndef EBCDIC  #ifndef EBCDIC
848  #define HSPACE_MULTIBYTE_CASES \  #define HSPACE_MULTIBYTE_CASES \
849        case 0x1680:    /* OGHAM SPACE MARK */ \        case 0x1680:    /* OGHAM SPACE MARK */ \
# Line 870  duplicated there as well. They also appe Line 872  duplicated there as well. They also appe
872        case 0x2028:    /* LINE SEPARATOR */ \        case 0x2028:    /* LINE SEPARATOR */ \
873        case 0x2029     /* PARAGRAPH SEPARATOR */        case 0x2029     /* PARAGRAPH SEPARATOR */
874    
 #else   /* EBCDIC */  
 #define HSPACE_MULTIBYTE_CASES  
 #define VSPACE_MULTIBYTE_CASES  
   
 #define HSPACE_BYTE_CASES \  
       case CHAR_HT: \  
       case CHAR_SPACE  
 #endif  /* EBCDIC */  
   
875  #define VSPACE_BYTE_CASES \  #define VSPACE_BYTE_CASES \
876        case CHAR_LF: \        case CHAR_LF: \
877        case CHAR_VT: \        case CHAR_VT: \
# Line 894  duplicated there as well. They also appe Line 887  duplicated there as well. They also appe
887          VSPACE_BYTE_CASES: \          VSPACE_BYTE_CASES: \
888          VSPACE_MULTIBYTE_CASES          VSPACE_MULTIBYTE_CASES
889    
890    /* ------ EBCDIC environments ------ */
891    
892    #else
893    #define HSPACE_BYTE_CASES \
894          case CHAR_HT: \
895          case CHAR_SPACE
896    
897    #define VSPACE_BYTE_CASES \
898          case CHAR_LF: \
899          case CHAR_VT: \
900          case CHAR_FF: \
901          case CHAR_CR: \
902          case CHAR_NEL
903    
904    #define HSPACE_CASES HSPACE_BYTE_CASES
905    #define VSPACE_CASES VSPACE_BYTE_CASES
906    #endif  /* EBCDIC */
907    
908    /* ------ End of whitespace case macros ------ */
909    
910    
911  /* In case there is no definition of offsetof() provided - though any proper  /* In case there is no definition of offsetof() provided - though any proper
912  Standard C system should have one. */  Standard C system should have one. */
913    

Legend:
Removed from v.1041  
changed lines
  Added in v.1043

  ViewVC Help
Powered by ViewVC 1.1.5