Commit történet

Szerző SHA1 Üzenet Dátum
  Sven/Sarah Barth 2be8f01efe * implement assignment of anonymous functions to procedure or method variables if they either capture nothing or (in case of method variables) at most the Self variable 4 éve
  Sven/Sarah Barth 17514ed5c0 * allow to ignore Self parameters; for this the parameter skipping needs to be repeated to correctly catch all cases 4 éve
  Sven/Sarah Barth 8e2478e632 * check whether an anonymous function can be assigned to a global, method or nested function variable 4 éve
  Sven/Sarah Barth 5129c2cb9a * consider Self parameters of nested functions as captured as well 4 éve
  Sven/Sarah Barth d56a90e5ed * keep track of symbols that are accessed from a nested/anonymous function that belong to a surrounding scope 4 éve
  Sven/Sarah Barth ddba001b65 * ensure that nested functions of main program, main program finalization and unit initialization/finalization are generated 4 éve
  Sven/Sarah Barth 4dbdb4f0f1 + initial support for anonymous functions, for now as essentially nested functions 4 éve
  Sven/Sarah Barth 4e4d268963 + add modeswitch for anonymous functions 4 éve
  Sven/Sarah Barth 2cc621618a * Delphi-mode calling without parenthesis 4 éve
  Sven/Sarah Barth c3736810ac * if an interface is declared inherit the invokable flag from the parent interface 3 éve
  Sven/Sarah Barth 2ed2c21313 + add support for parsing function references 3 éve
  Sven/Sarah Barth 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 éve
  Sven/Sarah Barth 90eabdd6b4 * ensure insert_self_and_vmt_para can deal with a preexisting self symbol as long as it has the expected type 3 éve
  Sven/Sarah Barth 39f5534969 * adjust handle_calling_convention so that it can be used with both proc(var)defs and invokables 3 éve
  Sven/Sarah Barth c92e290d67 * extend parse_proctype_directives to handle proc(var)defs as well as invokables 3 éve
  Sven/Sarah Barth bb637fa389 * adjust parse_proctype_directives so that it can handle a function reference as well 3 éve
  Sven/Sarah Barth a20bfc0753 + add utility function to check whether an invokable can be invoked without explicit parameters 3 éve
  Sven/Sarah Barth 22bbcf4b27 + add utility function to retrieve the invoke procdef of a function reference interface 3 éve
  Sven/Sarah Barth 833a971877 + add utility function to check whether an objectdef is an invokable one 3 éve
  Sven/Sarah Barth f0748ad59b + add flag to denote that an objectdef is invokable, thus can be used like a function variable 3 éve
  Sven/Sarah Barth 122c6c92cb + add function to check whether a def is an invokable function reference 4 éve
  Sven/Sarah Barth b28495a423 + add flag to denote an object def as a function reference 3 éve
  Sven/Sarah Barth ec02d0abb0 + add constants for the Invoke symbol of a function reference interface (both for declaring and finding it) 3 éve
  Sven/Sarah Barth 2912e38e91 + add modeswitch for anonymous function and function references 4 éve
  Sven/Sarah Barth 5e148c1dca + add a new tproccopytyp pc_normal_no_paras to copy an abstractprocdef without its parameters (useful if the parameters themselves will be reused and the original def otherwise deleted) 3 éve
  Sven/Sarah Barth 6a9b4a1b13 + apply patch by Blaise.ru: allow initialisation of method pointers with class methods (when class types are 3 éve
  Sven/Sarah Barth bc4eb00a7a * apply patch by Blaise.ru: proper code generation for assigning class non-static methods, accessed via a class reference type, to method pointers 3 éve
  Sven/Sarah Barth 6e7a82440e * apply patch by Blaise.ru: avoid internal error when assigning class methods, accessed via a class reference type, to incompatible procvars 3 éve
  Sven/Sarah Barth a8cf67d73b * apply patch by Blaise.ru: reject assignments of instance methods, accessed via a type, to method pointers 3 éve
  Sven/Sarah Barth acee4eb27a - apply patch by Blaise.ru: pdflags are no longer required in generate_specialization_phase2() after parse_proc_directives() was done, so remove its unused modification after that call 3 éve