Commit History

Autor SHA1 Mensaxe Data
  Jonas Maebe 2274150698 * fixed compilation with -Oodfa on big endian systems %!s(int64=11) %!d(string=hai) anos
  florian 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables %!s(int64=11) %!d(string=hai) anos
  Jonas Maebe 98a230d20f * don't call swapendian for shortint (it's 1 byte -> upcast to word and then %!s(int64=12) %!d(string=hai) anos
  svenbarth d908dbeec1 Fix for Mantis #25215. %!s(int64=12) %!d(string=hai) anos
  paul d801548604 compiler: support also XOR expressions in macro expressions %!s(int64=12) %!d(string=hai) anos
  nickysn 52a5ffc386 * use apptype to indicate that the target is a DOS .COM file, instead of introducing a new field in tsettings (as suggested by Sven) %!s(int64=12) %!d(string=hai) anos
  svenbarth 9d48bc0baf Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498. %!s(int64=12) %!d(string=hai) anos
  paul 73dab82a7f compiler: refactor preproc_substitutedtoken - pass the searchstr into it %!s(int64=12) %!d(string=hai) anos
  paul e42e9bb677 compiler: support ORD() intrinsic in preprocessor expressions %!s(int64=12) %!d(string=hai) anos
  paul 974aeb5573 compiler: support MOD, DIV, SHR, SHL in preprocessor expressions %!s(int64=12) %!d(string=hai) anos
  paul cc37b19bb2 compiler: allow 1 and 0 to be used as Booleans in preprocessor expressions %!s(int64=12) %!d(string=hai) anos
  paul 06e7808f64 compiler: return short evaluation of preprocessor expressions with AND or OR. This fixes univint package compilation. %!s(int64=12) %!d(string=hai) anos
  paul 038b7746fb compiler: implement preprocessor expressions (fixes mantis #0010671) %!s(int64=12) %!d(string=hai) anos
  paul 6eba4226b6 compiler: move OR and AND preprocessor evaluation to texprvalue.evaluate %!s(int64=12) %!d(string=hai) anos
  paul 7ecaaf0ef8 compiler: further improve preprocessor evaluator: %!s(int64=12) %!d(string=hai) anos
  paul cac09f9df1 compiler: better handling of '$','%','&' in macros %!s(int64=12) %!d(string=hai) anos
  paul 0eb4244a67 compiler: implement compile-time expression with float numbers (issue #0010670), better handling of integer expressions too %!s(int64=12) %!d(string=hai) anos
  paul eff0403fc1 compiler: reimplement handling of compile time variables - they are stored like tconstsym now instead of string. Expressions are evaluated more accurate now. %!s(int64=12) %!d(string=hai) anos
  paul 8d526e9b07 compiler: add a check for srsym <> nil since try_consume_unitsym may change srsym to nil, better error message %!s(int64=12) %!d(string=hai) anos
  paul 3f2e62874b compiler: handle unit, namespace and class/record/object prefixes before identifiers while parsing {$IF ...} expressions (fixes mantis #0020996) %!s(int64=12) %!d(string=hai) anos
  florian 0e41df598e * merge i8086 branch by Nikolay Nikolov %!s(int64=12) %!d(string=hai) anos
  florian 7ac7d8a4b6 + define UNICODE as well as FPC_UNICODESTRINGS %!s(int64=12) %!d(string=hai) anos
  Jonas Maebe 8b7071c8e8 * fixed recording generics token line info on big endian systems %!s(int64=12) %!d(string=hai) anos
  florian d4613fe961 * update init_settings.setalloc in SetCompileMode if changeinit is set %!s(int64=12) %!d(string=hai) anos
  florian 20a534e63f * fixed code which causes range check errors when compiled with -Cr %!s(int64=12) %!d(string=hai) anos
  nickysn 7d212a7e79 * default to intel assembler for delphi/tp7 modes also on i8086 %!s(int64=12) %!d(string=hai) anos
  paul 3682fddc49 compiler: minor optimization of tscannerfile.recordtoken %!s(int64=12) %!d(string=hai) anos
  paul 2a3618fb6c compiler: set apptype using new SetAppType routine, add 'CONSOLE' define for console apptype. %!s(int64=12) %!d(string=hai) anos
  paul 8db6118965 compiler: define FPC_UNICODESTRINGS when UnicodeString is a default string type (for issue #0023861) %!s(int64=12) %!d(string=hai) anos
  svenbarth d49b4043ab Implement DECLARED() for generic symbols. This fixes Mantis #21829 . The syntax is SomeGenericType<> for a generic with only one type parameter and SomeGeneric<,[,]*> for a generic with more than one type parameter. Spaces between the commas or brackets are allowed. %!s(int64=12) %!d(string=hai) anos