Add -d (debug mode) to the assembler options. In studyexpr, use the debug

flag, not the verbose flag to decide if the studied expression should be
output.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5919 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2012-11-06 20:24:44 +00:00
parent 2c446018db
commit 4682d7542a
3 changed files with 28 additions and 3 deletions

View File

@@ -37,7 +37,7 @@
/* common */
#include "check.h"
#include "print.h"
#include "debugflag.h"
#include "shift.h"
#include "xmalloc.h"
@@ -537,7 +537,7 @@ static void StudySymbol (ExprNode* Expr, ExprDesc* D)
SymUnmarkUser (Sym);
/* If requested and if the expression is valid, dump it */
if (Verbosity > 0 && !ED_HasError (D)) {
if (Debug > 0 && !ED_HasError (D)) {
DumpExpr (Expr, SymResolve);
}