Opened 12 years ago

Closed 12 years ago

#2146 closed defect (fixed)

Add support for default off debug-flags

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone: 1.9.0
Component: Frontend Version: trunk
Keywords: Cc: Adrian Pop

Description

It should be possible to have the default be +d=nogen (so +d=-nogen enables it). It would be an easy change to add this to the DEBUG_FLAG record and then does not break code that used to call +d=nogen.

The only bad thing is of course that +d=-nogen looks very odd. We could change no to be an alias of - (so the real flag name is +d=gen and its default is +d=-gen or +d=nogen).

Change History (2)

comment:1 by Martin Sjölund, 12 years ago

Owner: changed from somebody to Martin Sjölund
Status: newaccepted

comment:2 by Martin Sjölund, 12 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.