mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-02-19 19:31:00 +00:00
Debugger: 2.9.1.4 Changed: Show symbol warnings in Orange, and length of symbols in light blue
This commit is contained in:
parent
48e0fe3a8e
commit
aaae1dd6a1
@ -73,7 +73,7 @@
|
|||||||
#define CHC_SYMBOL "`2" // Symbols
|
#define CHC_SYMBOL "`2" // Symbols
|
||||||
#define CHC_ADDRESS "`8" // Hex Address
|
#define CHC_ADDRESS "`8" // Hex Address
|
||||||
#define CHC_ERROR "`1" // Red
|
#define CHC_ERROR "`1" // Red
|
||||||
#define CHC_WARNING "`5" // Purple
|
#define CHC_WARNING "`8" // Orange
|
||||||
#define CHC_INFO "`3" // Yellow
|
#define CHC_INFO "`3" // Yellow
|
||||||
#define CHC_STRING "`6" //
|
#define CHC_STRING "`6" //
|
||||||
#define CHC_EXAMPLE "`:"
|
#define CHC_EXAMPLE "`:"
|
||||||
|
@ -273,7 +273,7 @@ Update_t CmdSymbols (int nArgs)
|
|||||||
//===========================================================================
|
//===========================================================================
|
||||||
Update_t CmdSymbolsClear (int nArgs)
|
Update_t CmdSymbolsClear (int nArgs)
|
||||||
{
|
{
|
||||||
SymbolTable_Index_e eSymbolTable = SYMBOLS_USER_1;
|
SymbolTable_Index_e eSymbolTable = SYMBOLS_USER_1;
|
||||||
_CmdSymbolsClear( eSymbolTable );
|
_CmdSymbolsClear( eSymbolTable );
|
||||||
return (UPDATE_DISASM | UPDATE_SYMBOLS);
|
return (UPDATE_DISASM | UPDATE_SYMBOLS);
|
||||||
}
|
}
|
||||||
@ -648,12 +648,17 @@ int ParseSymbolTable(const std::string & pPathFileName, SymbolTable_Index_e eSym
|
|||||||
int nLen = strlen( sName );
|
int nLen = strlen( sName );
|
||||||
if (nLen > nMaxLen)
|
if (nLen > nMaxLen)
|
||||||
{
|
{
|
||||||
ConsolePrintFormat( sText, " %sWarn.: %s%s (%d > %d)"
|
ConsolePrintFormat( sText, " %sWarn.: %s%s %s(%s%d %s> %s%d%s)"
|
||||||
, CHC_WARNING
|
, CHC_WARNING
|
||||||
, CHC_SYMBOL
|
, CHC_SYMBOL
|
||||||
, sName
|
, sName
|
||||||
|
, CHC_ARG_SEP
|
||||||
|
, CHC_NUM_DEC
|
||||||
, nLen
|
, nLen
|
||||||
|
, CHC_ARG_SEP
|
||||||
|
, CHC_NUM_DEC
|
||||||
, nMaxLen
|
, nMaxLen
|
||||||
|
, CHC_ARG_SEP
|
||||||
);
|
);
|
||||||
ConsoleUpdate(); // Flush buffered output so we don't ask the user to pause
|
ConsoleUpdate(); // Flush buffered output so we don't ask the user to pause
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user