diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 1999-12-15 19:42:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 1999-12-15 19:42:00 (GMT) |
commit | df5aeefd51095ad5b1f5fe1bf563a7302f93feeb (patch) | |
tree | e1e96dcb9bbad928271e0546023ea0a9841641b6 /src/config.l | |
parent | dc2968f7b44b1a219a0695ba80c63cd0d7da0ef1 (diff) | |
download | Doxygen-df5aeefd51095ad5b1f5fe1bf563a7302f93feeb.zip Doxygen-df5aeefd51095ad5b1f5fe1bf563a7302f93feeb.tar.gz Doxygen-df5aeefd51095ad5b1f5fe1bf563a7302f93feeb.tar.bz2 |
mods for doxygen-0.49-991205
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 16 |
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"; |