/[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 1568 by ph10, Fri Jun 12 16:24:58 2015 UTC revision 1569 by ph10, Fri Jun 19 16:10:07 2015 UTC
# Line 984  other. NOTE: The values also appear in p Line 984  other. NOTE: The values also appear in p
984  #ifndef EBCDIC  #ifndef EBCDIC
985    
986  #define HSPACE_LIST \  #define HSPACE_LIST \
987    CHAR_HT, CHAR_SPACE, 0xa0, \    CHAR_HT, CHAR_SPACE, CHAR_NBSP, \
988    0x1680, 0x180e, 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, 0x2005, \    0x1680, 0x180e, 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, 0x2005, \
989    0x2006, 0x2007, 0x2008, 0x2009, 0x200A, 0x202f, 0x205f, 0x3000, \    0x2006, 0x2007, 0x2008, 0x2009, 0x200A, 0x202f, 0x205f, 0x3000, \
990    NOTACHAR    NOTACHAR
# Line 1010  other. NOTE: The values also appear in p Line 1010  other. NOTE: The values also appear in p
1010  #define HSPACE_BYTE_CASES \  #define HSPACE_BYTE_CASES \
1011    case CHAR_HT: \    case CHAR_HT: \
1012    case CHAR_SPACE: \    case CHAR_SPACE: \
1013    case 0xa0     /* NBSP */    case CHAR_NBSP
1014    
1015  #define HSPACE_CASES \  #define HSPACE_CASES \
1016    HSPACE_BYTE_CASES: \    HSPACE_BYTE_CASES: \
# Line 1037  other. NOTE: The values also appear in p Line 1037  other. NOTE: The values also appear in p
1037  /* ------ EBCDIC environments ------ */  /* ------ EBCDIC environments ------ */
1038    
1039  #else  #else
1040  #define HSPACE_LIST CHAR_HT, CHAR_SPACE  #define HSPACE_LIST CHAR_HT, CHAR_SPACE, CHAR_NBSP
1041    
1042  #define HSPACE_BYTE_CASES \  #define HSPACE_BYTE_CASES \
1043    case CHAR_HT: \    case CHAR_HT: \
1044    case CHAR_SPACE    case CHAR_SPACE: \
1045      case CHAR_NBSP
1046    
1047  #define HSPACE_CASES HSPACE_BYTE_CASES  #define HSPACE_CASES HSPACE_BYTE_CASES
1048    
# Line 1215  same code point. */ Line 1216  same code point. */
1216    
1217  #define CHAR_ESC                    '\047'  #define CHAR_ESC                    '\047'
1218  #define CHAR_DEL                    '\007'  #define CHAR_DEL                    '\007'
1219    #define CHAR_NBSP                   '\101'
1220  #define STR_ESC                     "\047"  #define STR_ESC                     "\047"
1221  #define STR_DEL                     "\007"  #define STR_DEL                     "\007"
1222    
# Line 1229  a positive value. */ Line 1231  a positive value. */
1231  #define CHAR_NEL                    ((unsigned char)'\x85')  #define CHAR_NEL                    ((unsigned char)'\x85')
1232  #define CHAR_ESC                    '\033'  #define CHAR_ESC                    '\033'
1233  #define CHAR_DEL                    '\177'  #define CHAR_DEL                    '\177'
1234    #define CHAR_NBSP                   ((unsigned char)'\xa0')
1235    
1236  #define STR_LF                      "\n"  #define STR_LF                      "\n"
1237  #define STR_NL                      STR_LF  #define STR_NL                      STR_LF
# Line 1606  only. */ Line 1609  only. */
1609  #define CHAR_VERTICAL_LINE          '\174'  #define CHAR_VERTICAL_LINE          '\174'
1610  #define CHAR_RIGHT_CURLY_BRACKET    '\175'  #define CHAR_RIGHT_CURLY_BRACKET    '\175'
1611  #define CHAR_TILDE                  '\176'  #define CHAR_TILDE                  '\176'
1612    #define CHAR_NBSP                   ((unsigned char)'\xa0')
1613    
1614  #define STR_HT                      "\011"  #define STR_HT                      "\011"
1615  #define STR_VT                      "\013"  #define STR_VT                      "\013"

Legend:
Removed from v.1568  
changed lines
  Added in v.1569

  ViewVC Help
Powered by ViewVC 1.1.5