Cronologia Commit

Autore SHA1 Messaggio Data
  Pierre Muller 2c9776ac6b Remove %OS by %TARGET, as spotted by Gareth 3 anni fa
  Pierre Muller e148afd506 Fix cycling with -CR option 3 anni fa
  florian 45bf47ee05 * compilation with -O3 fixed 3 anni fa
  Sven/Sarah Barth 39b7b07ebb + add tests for function references, anonymous functions and C-blocks 3 anni fa
  Sven/Sarah Barth 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references 3 anni fa
  Sven/Sarah Barth 9f3dcdb211 + add method to find a procinfo for a nested function by the corresponding procdef 3 anni fa
  Sven/Sarah Barth c6aba5cd8d * make tprocinfo.addnestedproc public so that it can be used to add generated functions 3 anni fa
  Sven/Sarah Barth 702f79ec8c + add method tprocsym.Find_procdef_by_funcrefdef to find a procdef that's compatible with the specified function reference 3 anni fa
  Sven/Sarah Barth 943da88dda * rework tprocsym.Find_procdef_byprocvardef so that its implementation can be used in a more generic manner 3 anni fa
  Sven/Sarah Barth f2305d1cee * if an invokable that isn't a function reference is followed by a point in a mode that doesn't use TP/Delphi style calling without parameters then don't call it like is done with normal procvars 3 anni fa
  Sven/Sarah Barth 76df7144ba * implement necessary conversion functionality for anonymous procdefs to function reference interfaces including capturing of variables 3 anni fa
  Sven/Sarah Barth f8b1801a8f + implement necessary functionality in tcgprocinfo to initialize and populate the capturer 3 anni fa
  Sven/Sarah Barth 9b9ae2db1a * two function references are equal to each other as long as their signatures match 3 anni fa
  Sven/Sarah Barth 6fe9a15094 + add function to check whether a procdef can be converted to a function reference 3 anni fa
  Sven/Sarah Barth 749faa42ee * do not insert the $result symbol again when the VMT for the capturer is built 3 anni fa
  Sven/Sarah Barth 9aac622dc9 + add necessary core functions and functionality to implement capturing of variables 3 anni fa
  Sven/Sarah Barth 0e0739a64f * regenerate msg{idx,txt}.inc 3 anni fa
  Sven/Sarah Barth a0171e4335 + add an error message for when a symbol can't be captured 3 anni fa
  Sven/Sarah Barth 897f0e1784 * if a symbol is not part of a symtable then assume it's from the current module 3 anni fa
  Sven/Sarah Barth b5ab81c983 * an internal definition in a specialization might not have a genericdef 3 anni fa
  Sven/Sarah Barth 90ebeb275a + add utility function to retrieve a file position of a usage of a type symbol from a type's definition 3 anni fa
  Sven/Sarah Barth 3eac88eeaf * protected symbols are visible for defs declared in a local symtable as well 3 anni fa
  Sven/Sarah Barth 533a11ec80 * correctly handle calling convention for function references 3 anni fa
  Sven/Sarah Barth 47d7520b32 * consider invokables as related when they're equal 3 anni fa
  Sven/Sarah Barth 145b37425d + add function funcref_equal to check whether two function references are considered equal enough to be assignable 3 anni fa
  Sven/Sarah Barth ff0b560fe4 * set the flag that the symtable contains a generic at the end of the corresponding block of types_dec() to ensure that the owner is assigned correctly 3 anni fa
  Sven/Sarah Barth 6299e94c8f * set the type symbol of the procvar while it is parsed so that a function reference can have itself as part of the parameters or the return type 3 anni fa
  Sven/Sarah Barth 06a00b53c3 * also handle function references when a generic one had been parsed 3 anni fa
  Sven/Sarah Barth b297199ab6 + add a field to denote that a symbol (mainly local and parameter ones) was captured through another symbol 3 anni fa
  Sven/Sarah Barth ec96d4242a * check hierarchy of the current generic or specialization def independant of whether it's a record- or objectdef 3 anni fa