1 # Checking the output filenames. -*- Autotest -*-
2 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 AT_BANNER([[C++ Features.]])
22 ## ----------------------- ##
23 ## Doxygen Documentation. ##
24 ## ----------------------- ##
26 m4_define([AT_CHECK_DOXYGEN],
28 [Public], [m4_pushdef([AT_DOXYGEN_PRIVATE], [NO])],
29 [Private], [m4_pushdef([AT_DOXYGEN_PRIVATE], [YES])],
30 [m4_fatal([invalid argument: $1])])
31 AT_SETUP([Doxygen $1 Documentation])
34 [[%skeleton "lalr1.cc"
41 yy::parser::error (const location& l, const std::string& m)
43 std::cerr << l << s << std::endl;
47 AT_CHECK([bison -o input.cc input.yy], 0)
50 [# The PROJECT_NAME tag is a single word (or a sequence of words
51 # surrounded by quotes) that should identify the project.
52 PROJECT_NAME = "Bison C++ Parser"
54 # The QUIET tag can be used to turn on/off the messages that are
55 # generated by doxygen. Possible values are YES and NO. If left blank
59 # The WARNINGS tag can be used to turn on/off the warning messages
60 # that are generated by doxygen. Possible values are YES and NO. If
61 # left blank NO is used.
63 # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate
64 # warnings for undocumented members. If EXTRACT_ALL is set to YES then
65 # this flag will automatically be disabled.
66 WARN_IF_UNDOCUMENTED = YES
67 # If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings
68 # for potential errors in the documentation, such as not documenting
69 # some parameters in a documented function, or documenting parameters
70 # that don't exist or using markup commands wrongly.
71 WARN_IF_DOC_ERROR = YES
72 # The WARN_FORMAT tag determines the format of the warning messages
73 # that doxygen can produce. The string should contain the $file,
74 # $line, and $text tags, which will be replaced by the file and line
75 # number from which the warning originated and the warning text.
76 WARN_FORMAT = "$file:$line: $text"
78 # If the EXTRACT_ALL tag is set to YES doxygen will assume all
79 # entities in documentation are documented, even if no documentation
80 # was available. Private class members and static file members will
81 # be hidden unless the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set
85 # If the EXTRACT_PRIVATE tag is set to YES all private members of a
86 # class will be included in the documentation.
87 EXTRACT_PRIVATE = AT_DOXYGEN_PRIVATE
89 # If the EXTRACT_STATIC tag is set to YES all static members of a file
90 # will be included in the documentation.
91 EXTRACT_STATIC = AT_DOXYGEN_PRIVATE
94 AT_CHECK([doxygen --version || exit 77], 0, ignore)
95 AT_CHECK([doxygen], 0, [], [ignore])
99 m4_popdef([AT_DOXYGEN_PRIVATE])
102 AT_CHECK_DOXYGEN([Public])
103 AT_CHECK_DOXYGEN([Private])