current.diff 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. 0a1
  2. > {$IFNDEF FPC_DOTTEDUNITS}
  3. 1a3
  4. > {$ENDIF FPC_DOTTEDUNITS}
  5. 67c69
  6. < {$I regexpr_compilers.inc}
  7. ---
  8. >
  9. 72d73
  10. < {$IFDEF FPC}
  11. 75c76
  12. < {$ENDIF}
  13. ---
  14. > {$DEFINE COMPAT}
  15. 77c78
  16. < {$DEFINE UnicodeRE} // Use WideChar for characters and UnicodeString/WideString for strings
  17. ---
  18. > { off $DEFINE UnicodeRE} // Use WideChar for characters and UnicodeString/WideString for strings
  19. 79,89c80,83
  20. < { off $DEFINE UseWordChars} // Use WordChars property, otherwise fixed list 'a'..'z','A'..'Z','0'..'9','_'
  21. < { off $DEFINE UseSpaceChars} // Use SpaceChars property, otherwise fixed list
  22. < { off $DEFINE UseLineSep} // Use LineSeparators property, otherwise fixed line-break chars
  23. < {$IFDEF UNICODE}
  24. < {$IFNDEF UnicodeRE}
  25. < {$MESSAGE ERROR 'You cannot undefine UnicodeRE for Unicode Delphi versions'}
  26. < {$ENDIF}
  27. < {$ENDIF}
  28. < {$IFDEF FPC}
  29. < {$DEFINE FastUnicodeData} // Use arrays for UpperCase/LowerCase/IsWordChar, they take 320K more memory
  30. < {$ENDIF}
  31. ---
  32. > {$DEFINE UseWordChars} // Use WordChars property, otherwise fixed list 'a'..'z','A'..'Z','0'..'9','_'
  33. > {$DEFINE UseSpaceChars} // Use SpaceChars property, otherwise fixed list
  34. > {$DEFINE UseLineSep} // Use LineSeparators property, otherwise fixed line-break chars
  35. > { off $DEFINE FastUnicodeData} // Use arrays for UpperCase/LowerCase/IsWordChar, they take 320K more memory
  36. 116a111,122
  37. > {$IFDEF FPC_DOTTEDUNITS}
  38. > uses
  39. > System.SysUtils, // Exception
  40. > {$IFDEF D2009}
  41. > {$IFDEF D_XE2}
  42. > System.System.Character,
  43. > {$ELSE}
  44. > System.Character,
  45. > {$ENDIF}
  46. > {$ENDIF}
  47. > System.Classes; // TStrings in Split method
  48. > {$ELSE FPC_DOTTEDUNITS}
  49. 126a133
  50. > {$ENDIF FPC_DOTTEDUNITS}