summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authormueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:42:00 (GMT)
committermueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:42:00 (GMT)
commite37828267bfc6c76a5b01208dcdb676a3aa580f9 (patch)
treee1e96dcb9bbad928271e0546023ea0a9841641b6 /src/config.l
parent74cc4d70240d09e10c9da94c0537670fc287a85e (diff)
downloadDoxygen-e37828267bfc6c76a5b01208dcdb676a3aa580f9.zip
Doxygen-e37828267bfc6c76a5b01208dcdb676a3aa580f9.tar.gz
Doxygen-e37828267bfc6c76a5b01208dcdb676a3aa580f9.tar.bz2
mods for doxygen-0.49-991205
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/config.l b/src/config.l
index 20d3278..81f7a1b 100644
--- a/src/config.l
+++ b/src/config.l
@@ -118,6 +118,7 @@ bool Config::htmlHelpFlag = FALSE;
bool Config::alphaIndexFlag = FALSE;
bool Config::pdfHyperFlag = FALSE;
bool Config::alwaysDetailsFlag = FALSE;
+bool Config::inlineSourceFlag = FALSE;
bool Config::autoBriefFlag = TRUE;
bool Config::warningFlag = TRUE;
bool Config::generateHtml = TRUE;
@@ -256,6 +257,7 @@ static int yyread(char *buf,int max_size)
<Start>"PDF_HYPERLINKS"[ \t]*"=" { BEGIN(GetBool); b=&Config::pdfHyperFlag; }
<Start>"INHERIT_DOCS"[ \t]*"=" { BEGIN(GetBool); b=&Config::inheritDocsFlag; }
<Start>"INLINE_INFO"[ \t]*"=" { BEGIN(GetBool); b=&Config::inlineInfoFlag; }
+<Start>"INLINE_SOURCES"[ \t]*"=" { BEGIN(GetBool); b=&Config::inlineSourceFlag; }
<Start>[a-z_A-Z0-9]+ { err("Warning: ignoring unknown tag `%s' at line %d\n",yytext,yyLineNr); }
<GetString,GetBool>\n { yyLineNr++; BEGIN(Start); }
<GetStrList>\n {
@@ -448,6 +450,7 @@ void Config::init()
Config::alphaIndexFlag = FALSE;
Config::pdfHyperFlag = FALSE;
Config::alwaysDetailsFlag = FALSE;
+ Config::inlineSourceFlag = FALSE;
Config::warningFlag = TRUE;
Config::generateHtml = TRUE;
Config::generateLatex = TRUE;
@@ -651,15 +654,22 @@ void writeTemplateConfig(QFile *f,bool sl)
if (!sl)
{
t << "\n";
- t << "# If the SOURCE_BROWSER tag is set to YES than the body of a member or\n";
- t << "# function will be appended as a block of code to the documentation of.\n";
- t << "# that member or function.\n";
+ t << "# If the SOURCE_BROWSER tag is set to YES then a list of source files will\n";
+ t << "# be generated. Documented entities will be cross-referenced with these sources.\n";
t << "\n";
}
t << "SOURCE_BROWSER = NO\n";
if (!sl)
{
t << "\n";
+ t << "# Setting the INLINE_SOURCES tag to YES will include the body\n";
+ t << "# of functions and classes directly in the documentation.\n";
+ t << "\n";
+ }
+ t << "INLINE_SOURCES = NO\n";
+ if (!sl)
+ {
+ t << "\n";
t << "# If the CASE_SENSE_NAMES tag is set to NO (the default) then Doxygen\n";
t << "# will only generate file names in lower case letters. If set to\n";
t << "# YES upper case letters are also allowed. This is useful if you have\n";