Commit History

Author SHA1 Message Date
  florian 3ce9ff93f1 + patch by Jeppe Johansen to support automatic interrupt table generation by using the interrupt directive with an offset. Not activated yet because it requires to change also the startup code of the different mcus. 14 years ago
  Jonas Maebe bc46ea5cba * use compare_defs() instead of a plain "=" comparison to check that the 14 years ago
  paul a39733a0a2 compiler: extend enumerator support for records: 14 years ago
  paul 9499692eeb compiler: allow Assignment and Explicit operators for undefined defs (issue #0018567) 14 years ago
  paul 0c9b40acb7 compiler: record operators 14 years ago
  paul f9f316ac45 compiler: don't set a structure to routine if it accidentally match some (bug #0018452) 14 years ago
  paul 86482658a8 compiler: fix tgeneric11 test: 14 years ago
  paul 31de2aab1b compiler: change parse_proc_head pd argument access type from var to out 14 years ago
  paul 749075a851 compiler: ignore case when check type parameters for identity 14 years ago
  paul bd64575add compiler: require generic name with type parameters for the method class prefix (like TGenericClass<T>.MethodName instead of TGenericClass.MethodName) in delphi mode 14 years ago
  paul fa41b6ffe3 compiler: allow generic classes to derive from generic classes and generic interfaces 14 years ago
  Jonas Maebe 3ca3276400 * changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another 14 years ago
  paul e8502b8ec2 compiler: make current_genericdef, current_specializedef tstoreddef instead of tabstractrecorddef to implement generic arrays 14 years ago
  paul 52667b6822 compiler: implement generics for records based on generic objects implementation + 1 test 14 years ago
  paul ee78cf0f06 compiler: use current_structdef in more places where current_objectdef was used, change type of current_genericdef and current_specializedef to tabstractrecorddef for future use with generic records 14 years ago
  paul 210e78e4fa compiler: allow objects and records to have members which point to themself. only don't permit this to regular fields. 14 years ago
  paul e098046608 compiler: fix typo 14 years ago
  paul 51a9d3280c compiler: require at least one argument of class operator to be of type of structure where this operator is declared 14 years ago
  paul ee6fe6c4f5 compiler: add unary plus node, search for unary plus operator if a type cannot be handled by compiler, increase ppu version because of node types change 14 years ago
  paul c0c7e40b65 compiler: allow Inc, Dec, Explicit operators for other fpc modes 14 years ago
  paul 66b128efb3 compiler: map delphi Implicit operator to := operator of FPC, add Explicit operator for delphi only (for now) which works when explicit type conversion happens + extend test 14 years ago
  paul 4531e1231b compiler: implement Inc, Dec class operators 14 years ago
  paul 8c8c1fc151 compiler: 14 years ago
  paul 3c6fde4acc compiler: rename parser_e_constructors_always_objects message to parser_e_only_methods_allowed and extended the meaning it has, don't allow class constructors to be declared outside the class/record + test 14 years ago
  paul b811f1be15 compiler: implement delphi style class operators: 14 years ago
  paul d97cf8ed9d compiler: implement IN operator which was known by compiler but was not supported. + test 14 years ago
  paul 92d6503704 compiler: rename _EQUAL token to _EQ to prevent problems with adding delphi operator names which contains "EQUAL" name, also rename _UNEQUAL to _NE for consistency 14 years ago
  paul 8c0c614d5a compiler: allow <> operator overload. search for "<>" operator first for "<>" expressions and if not found then use "=" operator + test 14 years ago
  paul 742b0bb686 compiler: partly revert r16560 and disable (at least temporary) constructors in records 14 years ago
  paul 8c56269076 compiler: fix record constructor return type when parsing procedure declaration 14 years ago