@@ -407,7 +407,6 @@ $(H2 $(LNAME2 debug, Debug Condition))
407
407
$(GRAMMAR
408
408
$(GNAME DebugCondition):
409
409
$(D debug)
410
- $(D debug $(LPAREN)) $(GLINK_LEX IntegerLiteral) $(D $(RPAREN))
411
410
$(D debug $(LPAREN)) $(GLINK_LEX Identifier) $(D $(RPAREN))
412
411
)
413
412
@@ -422,12 +421,7 @@ $(GNAME DebugCondition):
422
421
)
423
422
424
423
$(P The $(D debug) condition is satisfied when the $(D -debug) switch is
425
- passed to the compiler or when the debug level is >= 1.
426
- )
427
-
428
- $(P The $(D debug $(LPAREN)) $(I IntegerLiteral) $(D $(RPAREN)) condition is satisfied
429
- when the debug
430
- level is $(D >=) $(I IntegerLiteral).
424
+ passed to the compiler.
431
425
)
432
426
433
427
$(P The $(D debug $(LPAREN)) $(I Identifier) $(D $(RPAREN)) condition is satisfied
@@ -466,10 +460,9 @@ $(H2 $(LNAME2 debug_specification, Debug Specification))
466
460
$(GRAMMAR
467
461
$(GNAME DebugSpecification):
468
462
$(D debug =) $(GLINK_LEX Identifier) $(D ;)
469
- $(D debug =) $(GLINK_LEX IntegerLiteral) $(D ;)
470
463
)
471
464
472
- $(P Debug identifiers and levels are set either by the command line switch
465
+ $(P Debug identifiers are set either by the command line switch
473
466
$(D -debug) or by a $(I DebugSpecification).
474
467
)
475
468
@@ -494,12 +487,11 @@ debug = foo; // error, foo used before set
494
487
)
495
488
496
489
------
497
- debug(IntegerLiteral) { } // add in debug code if debug level is >= IntegerLiteral
498
490
debug(identifier) { } // add in debug code if debug keyword is identifier
499
491
------
500
492
501
493
$(P These are presumably set by the command line as
502
- $(D -debug=)$(I n) and $(D -debug=)$(I identifier).
494
+ and $(D -debug=)$(I identifier).
503
495
)
504
496
505
497
$(H2 $(LNAME2 staticif, Static If Condition))
0 commit comments