/[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 1196 by zherczeg, Mon Oct 29 11:30:45 2012 UTC revision 1197 by chpe, Thu Nov 1 19:23:27 2012 UTC
# Line 776  we know we are in UTF mode. */ Line 776  we know we are in UTF mode. */
776  we know we are in UTF mode. */  we know we are in UTF mode. */
777    
778  #define RAWUCHARINC(eptr) \  #define RAWUCHARINC(eptr) \
779    (*(eptr)++)    (*((eptr)++))
780    
781  /* Returns the next uchar, testing for UTF mode, and not advancing the  /* Returns the next uchar, testing for UTF mode, and not advancing the
782  pointer. */  pointer. */
# Line 788  pointer. */ Line 788  pointer. */
788  pointer. */  pointer. */
789    
790  #define RAWUCHARINCTEST(eptr) \  #define RAWUCHARINCTEST(eptr) \
791    (*(eptr)++)    (*((eptr)++))
792    
793  /* If the pointer is not at the start of a character, move it back until  /* If the pointer is not at the start of a character, move it back until
794  it is. This is called only in UTF-8 mode - we don't put a test within the macro  it is. This is called only in UTF-8 mode - we don't put a test within the macro
# Line 895  we know we are in UTF mode. */ Line 895  we know we are in UTF mode. */
895  we know we are in UTF mode. */  we know we are in UTF mode. */
896    
897  #define RAWUCHARINC(eptr) \  #define RAWUCHARINC(eptr) \
898    (*(eptr)++)    (*((eptr)++))
899    
900  /* Returns the next uchar, testing for UTF mode, and not advancing the  /* Returns the next uchar, testing for UTF mode, and not advancing the
901  pointer. */  pointer. */
# Line 907  pointer. */ Line 907  pointer. */
907  pointer. */  pointer. */
908    
909  #define RAWUCHARINCTEST(eptr) \  #define RAWUCHARINCTEST(eptr) \
910    (*(eptr)++)    (*((eptr)++))
911    
912  /* If the pointer is not at the start of a character, move it back until  /* If the pointer is not at the start of a character, move it back until
913  it is. This is called only in UTF-16 mode - we don't put a test within the  it is. This is called only in UTF-16 mode - we don't put a test within the
# Line 984  we know we are in UTF mode. */ Line 984  we know we are in UTF mode. */
984  we know we are in UTF mode. */  we know we are in UTF mode. */
985    
986  #define RAWUCHARINC(eptr) \  #define RAWUCHARINC(eptr) \
987    (*(eptr)++ & UTF32_MASK)    (*((eptr)++) & UTF32_MASK)
988    
989  /* Returns the next uchar, testing for UTF mode, and not advancing the  /* Returns the next uchar, testing for UTF mode, and not advancing the
990  pointer. */  pointer. */
# Line 996  pointer. */ Line 996  pointer. */
996  pointer. */  pointer. */
997    
998  #define RAWUCHARINCTEST(eptr) \  #define RAWUCHARINCTEST(eptr) \
999    (utf ? (*(eptr)++ & UTF32_MASK) : *(eptr)++)    (utf ? (*((eptr)++) & UTF32_MASK) : *((eptr)++))
1000    
1001  /* If the pointer is not at the start of a character, move it back until  /* If the pointer is not at the start of a character, move it back until
1002  it is. This is called only in UTF-32 mode - we don't put a test within the  it is. This is called only in UTF-32 mode - we don't put a test within the

Legend:
Removed from v.1196  
changed lines
  Added in v.1197

  ViewVC Help
Powered by ViewVC 1.1.5