Commit 85d00846 authored by Florian Liekweg's avatar Florian Liekweg
Browse files

new DBGEXE macro

[r4333]
parent f2c7d524
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
int get_pto_verbose (void); /* grrr, can't include pto.h */ int get_pto_verbose (void); /* grrr, can't include pto.h */
# define DBGPRINT(lvl, msg) if (get_pto_verbose () > lvl) { fprintf msg; } # define DBGPRINT(lvl, msg) if (get_pto_verbose () > lvl) { fprintf msg; }
# define DBGEXE(lvl, cmd) if (get_pto_verbose () > lvl) { cmd; }
static int pto_id = 0; /* only for pto_t->kind */ static int pto_id = 0; /* only for pto_t->kind */
...@@ -526,6 +527,9 @@ void pto_enter (obj_desc_t *obj_desc, entity *ent, pto_t *pto) ...@@ -526,6 +527,9 @@ void pto_enter (obj_desc_t *obj_desc, entity *ent, pto_t *pto)
/* /*
$Log$ $Log$
Revision 1.5 2004/11/09 16:46:01 liekweg
new DBGEXE macro
Revision 1.4 2004/11/08 12:33:06 liekweg Revision 1.4 2004/11/08 12:33:06 liekweg
initialisation; sanitize print levels, misc fixes initialisation; sanitize print levels, misc fixes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment