2013-03-31 21:22 UTC+0200 Viktor Szakats (harbour syenar.net)
* .gitignore
* deleted .def file as they are now covered by bin/*/ and
otherwise .def files do exist in source repo
* contrib/rddads/doc/en/adsfuncs.txt
* doc/en/string.txt
* cleanups
* utils/hbmk2/hbmk2.prg
* cleaned function skeletons in help
* extras/hbdoc/hbdoc.prg
+ include unknown COMPLIANCE value as in is doc instead of an error msg
* src/compiler/compi18n.c
* uncrustified, tweak formatting manually
% optimized variable scopes
* src/rtl/hbi18n2.prg
* minor formatting
This commit is contained in:
@@ -805,7 +805,7 @@ FUNCTION Decode( cType, hsBlock, cKey )
|
||||
IF ( idx := AScan( p_aPlatforms, {| a | a[ 1 ] == cCode } ) ) > 0
|
||||
RETURN p_aPlatforms[ idx ][ 2 ]
|
||||
ELSE
|
||||
RETURN "Unknown 'PLATFORMS' code: '" + cCode + "'"
|
||||
RETURN cCode
|
||||
ENDIF
|
||||
|
||||
CASE cType == "COMPLIANCE"
|
||||
@@ -840,7 +840,7 @@ FUNCTION Decode( cType, hsBlock, cKey )
|
||||
ELSEIF ! hb_HHasKey( hsBlock, "RETURNS" )
|
||||
RETURN hsBlock[ "NAME" ]
|
||||
ELSEIF Empty( hsBlock[ "RETURNS" ] ) .OR. ;
|
||||
Lower( hsBlock[ "RETURNS" ] ) == "nil" .OR. ;
|
||||
Upper( hsBlock[ "RETURNS" ] ) == "NIL" .OR. ;
|
||||
Lower( hsBlock[ "RETURNS" ] ) == "none" .OR. ;
|
||||
Lower( hsBlock[ "RETURNS" ] ) == "none."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user