2025-12-15 11:10 UTC+0100 Aleksander Czajczynski (hb fki.pl)

* src/vm/runner.c
    ! fix indentation

    ! previous change was not backwards compatible with hb_hrbLoad()
      stealing character argument, that would be otherwise passed
      to INIT PROCEDURE's in .hrb file

  * src/include/hb_hrb.ch
    + add HB_HRB_ARG_PRGNAME definition
      use to pass "virtual" script.prg filename as third parameter
      hb_hrbLoad( HB_HRB_ARG_PRGNAME + <nOptions>, cPCode, cFileName )
This commit is contained in:
Aleksander Czajczynski
2025-12-15 11:10:32 +01:00
parent fcb1eb001f
commit 6e349a09e2
3 changed files with 27 additions and 4 deletions

View File

@@ -7,6 +7,19 @@
Entries may not always be in chronological/commit order.
See license at the end of file. */
2025-12-15 11:10 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/vm/runner.c
! fix indentation
! previous change was not backwards compatible with hb_hrbLoad()
stealing character argument, that would be otherwise passed
to INIT PROCEDURE's in .hrb file
* src/include/hb_hrb.ch
+ add HB_HRB_ARG_PRGNAME definition
use to pass "virtual" script.prg filename as third parameter
hb_hrbLoad( HB_HRB_ARG_PRGNAME + <nOptions>, cPCode, cFileName )
2025-12-14 00:00 UTC-0300 Lailton Fernando Mariano (lailton/at/paysoft.com.br)
* src/vm/runner.c
* HB_HRBLOAD: support optional filename for in-memory HRB load