Support `if !COND', `else COND', `end COND'.
authorAkim Demaille <akim@epita.fr>
Tue, 8 May 2001 10:58:49 +0000 (10:58 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 8 May 2001 10:58:49 +0000 (10:58 +0000)
commit6831f0da41854a0da9da4494f89250c1a8f09554
treef42125e4b3a1e9570bdf85848f01ae5eef8d4960
parent5f6d34d03a73ef825c4355e55eaa513391ae7f0a
Support `if !COND', `else COND', `end COND'.
* automake.texi (Conditionals): Document it.
* automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `d' and `s'.
($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
a leading `!' before the condition.
(&handle_options): Use `d'.
(&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
(&read_am_file, &file_contents_internal): Use them.
(&transform): No longer substitute `%!COND%', forcing the use of
`! %?COND%'.
* ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
12 files changed:
ChangeLog
NEWS
ansi2knr.am
automake.in
automake.texi
lex.am
lib/am/ansi2knr.am
lib/am/lex.am
lib/am/texinfos.am
lib/am/yacc.am
texinfos.am
yacc.am