[Issue 3321] debug flags
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 17 04:18:54 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3321
Ary Borenszweig <ary at esperanto.org.ar> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ary at esperanto.org.ar
--- Comment #2 from Ary Borenszweig <ary at esperanto.org.ar> 2009-09-17 04:18:53 PDT ---
Yes, that's normal behaviour. And:
$ dmd2 -debug=ellery test
will print "hi!" if the code is:
debug(ellery) pragma(msg,"hi!");
void main() {}
I won't close this as invalid because the specification doesn't say exactly
this. It says:
---
The debug condition is satisfied when the -debug switch is thrown on the
compiler.
The debug ( Integer ) condition is satisfied when the debug level is >=
Integer.
The debug ( Identifier ) condition is satisfied when the debug identifier
matches Identifier.
---
It should say:
The debug condition is satisfied when the -debug switch is thrown on the
compiler or when a debug level >= 1 is indicated.
(or something like that)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list