mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 14:59:32 +08:00
27 lines
408 B
Plaintext
27 lines
408 B
Plaintext
|
@setfilename conditions
|
||
|
@set foo1
|
||
|
@clear foo2
|
||
|
@clear bar
|
||
|
@node Top
|
||
|
@top Test of conditions
|
||
|
@menu
|
||
|
@ifclear bar
|
||
|
@ifset foo1
|
||
|
* Foo1:: This text should be included.
|
||
|
@end ifset
|
||
|
@ifset foo2
|
||
|
* Foo2:: This text should not be included.
|
||
|
@end ifset
|
||
|
@end ifclear
|
||
|
* Foo3:: And we have no blank line here.
|
||
|
@end menu
|
||
|
@node Foo1
|
||
|
@chapter Foo1
|
||
|
@ifset foo2
|
||
|
@node Foo2
|
||
|
@chapter Foo2
|
||
|
@end ifset
|
||
|
@node Foo3
|
||
|
@chapter Foo3
|
||
|
@bye
|