8e57711e1d59518a27990b7ed5e68541fece0ab5
* utils/hbmk2/hbmk2.prg
! fixed -find to continue search for substrings
after a full match (f.e. hbmk2 -find str)
+ documented shell script API calls
+ new help section format for above
+ ensure -n2 build and enable warning settings to
help building into an .hrb
(quite fun to run hbmk2/hbrun as a hbrun script!)
! FuncNameEncode() "fixed" to be in sync with how
Harbour compiler (incorrectly) encodes function names.
This fixes: 'hbmk2 1.prg'
; TOFIX: ? hb_compGenCFunc() in src/compiler to encode
the first character of a function if it's a digit.
* doc/pragma.txt
* src/pp/ppcore.c
! fixed '#pragma nostartproc'. Only 'off' worked, 'on'
was silently ignored since who-knows-when (pointer to
int type received HB_BOOL value). Now it will accept
a numeric value in sync with '-n' option. [INCOMPATIBLE]
; TOFIX: It still doesn't work. Not does existing '#pragma -n2'
Pbly it's too late to set this while compiling,
or it needs deeper modifications.
Or delete if unfixable.
--- test_n2.prg
#pragma tracepragmas=on
#pragma -n2
#pragma -w3
STATIC stat := "stat"
PROCEDURE Main()
? stat /* ISSUE: warning appears without cmdline -n2 option */
RETURN
---
$ harbour test_n2
$ harbour test_n2 -n2
* README.txt
* minor sync with hbmk2 help
Description
Harbour Core — Reference source for Five development
Languages
C
80.3%
xBase
17.8%
Makefile
0.6%
C++
0.4%
Harbour
0.4%
Other
0.3%