anchor.diff:  if "!ARG!"=="-h" goto help
   if "!ARG!"=="-masm" %POPARG% & set "MASM=!ARG!" & goto next_arg
   if "!ARG!"=="-msvc" %POPARG% & set "MSVC=!ARG!" & goto next_arg
  +if "!ARG!"=="-o" %POPARG% & set "OUTDIR=!ARG!" & goto next_arg
   if "!ARG!"=="-v" call :Verbose.On & goto next_arg
   if "!ARG!"=="-vs" %POPARG% & set "VSTUDIO=!ARG!" & goto next_arg
   if "!ARG!"=="-V" (echo %VERSION%) & goto :eof
  ->&2 echo Unexpected argument ignored: %1
  +>&2 echo Unexpected argument ignored: !"ARG"!
   goto next_arg
   
   :go
  
positive.code:   %CONFIG% SET "%%k_WINSDK=!%%l.WINSDK!" ^&:# Microsoft Windows %%m SDK
  )
  
  if defined POST_MAKE_ACTIONS (
    %CONFIG%.
    %CONFIG% :# List of commands to run when make.bat exits
  
negative.code: :#----------------------------------------------------------------------------#
  :#                        End of the debugging library                        #
  :#----------------------------------------------------------------------------#
  
  :#----------------------------------------------------------------------------#
  :#                                                                            #
  :#  Function        Reg.Xxxxx						      #
  :#                                                                            #
  :#  Description     Registry management functions                             #
  :#                                                                            #
  :#  Arguments                                                                 #
  :#                                                                            #
  :#  Notes 	                                                              #
  :#                                                                            #
  :#  History                                                                   #
  :#                                                                            #
  :#----------------------------------------------------------------------------#
  
  :# Get a registry value content. Args: KEY NAME [VALUEVAR [TYPEVAR]]
  :Reg.GetValue
  %FUNCTION% enableextensions enabledelayedexpansion
  set "KEY="
  set "NAME="
  set "VALUEVAR="
  set "TYPEVAR="
  :get_value_args
  if "%~1"=="" goto got_value_args
  if not defined KEY set "KEY=%~1" & shift & goto get_value_args
  if not defined NAME set "NAME=%~1" & shift & goto get_value_args
  if not defined VALUEVAR set "VALUEVAR=%~1" & shift & goto get_value_args
  if not defined TYPEVAR set "TYPEVAR=%~1" & shift & goto get_value_args
  :got_value_args
  if not defined VALUEVAR set "VALUEVAR=VALUE"
  set "%VALUEVAR%="
  :# Returning the type is optional. Do not define a default for TYPEVAR.
  %ECHOVARS.D% KEY NAME VALUEVAR TYPEVAR
  %UPVAR% %VALUEVAR%
  if defined TYPEVAR %UPVAR% %TYPEVAR%
  if "%NAME%"=="" (
    set CMD=reg query "%KEY%" /ve
  ) else (
    set CMD=reg query "%KEY%" /v "%NAME%"
  )
  %ECHO.D% %CMD%
  :# For each line in CMD output...
  %FOREACHLINE% %%i in ('%CMD% 2^>NUL') do (
    set "LINE=%%i"
    %ECHOVARS.D% LINE
    :# Values are indented by 4 spaces.
    set "HEAD=!LINE:~0,4!"
    set "LINE=!LINE:~4!"
    :# But extra lines of multi-lined values are indented by >20 spaces.
    set "HEAD2=!LINE:~0,4!"
    if "!HEAD!"=="    " if not "!HEAD2!"=="    " (
      :# Some versions of reg.exe use 4 spaces as field separator; others use a TAB. 
      :# Change the 4-spaces around the REG_XX type word to a TAB.
      set "TOKENS=!LINE:    =	!"
      %ECHOVARS.D% TOKENS
      :# Extract the value name as the first item before the first TAB.
      :# Names can contain spaces, but assume they don't contain TABs.
      for /f "tokens=1,2* delims=	" %%j in ("!TOKENS!") do (
        set "NAME=%%j"
        set "TYPE=%%k"
        set "VALUE=%%l"
        %ECHOVARS.D% NAME TYPE VALUE
      )
    )
  )
  set %VALUEVAR%=!VALUE!
  if defined TYPEVAR set %TYPEVAR%=%TYPE%
  %RETURN%
  
  :#----------------------------------------------------------------------------#
  :#                                                                            #
  