summaryrefslogtreecommitdiffstats
path: root/addon/configgen
diff options
context:
space:
mode:
Diffstat (limited to 'addon/configgen')
-rw-r--r--addon/configgen/config_templ.l2
-rw-r--r--addon/configgen/configgen.cpp17
2 files changed, 10 insertions, 9 deletions
diff --git a/addon/configgen/config_templ.l b/addon/configgen/config_templ.l
index 3da3d56..aab5755 100644
--- a/addon/configgen/config_templ.l
+++ b/addon/configgen/config_templ.l
@@ -239,7 +239,7 @@ static void readIncludeFile(const char *incName)
else
{
ConfigFileState *fs=includeStack.pop();
- pclose(fs->filePtr);
+ fclose(fs->filePtr);
YY_BUFFER_STATE oldBuf = YY_CURRENT_BUFFER;
yy_switch_to_buffer( fs->oldState );
yy_delete_buffer( oldBuf );
diff --git a/addon/configgen/configgen.cpp b/addon/configgen/configgen.cpp
index eeba328..4367f20 100644
--- a/addon/configgen/configgen.cpp
+++ b/addon/configgen/configgen.cpp
@@ -791,14 +791,6 @@ void init()
ConfigString::addFixedValue("outputLanguage","Croatian");
ConfigString::addFixedValue("outputLanguage","Polish");
ConfigString::addFixedValue("outputLanguage","Portuguese");
- ConfigBool::add( "noIndexFlag",
- "DISABLE_INDEX",
- "FALSE",
- "generate condensed index flag",
- "The DISABLE_INDEX tag can be used to turn on/off the condensed index at \n"
- "top of each HTML page. The value NO (the default) enables the index and \n"
- "the value YES disables it. \n"
- );
ConfigBool::add( "extractAllFlag",
"EXTRACT_ALL",
"FALSE",
@@ -1244,6 +1236,15 @@ void init()
"of the generated HTML documentation. \n"
);
addDependency("htmlHelpFlag","generateHtml");
+ ConfigBool::add( "noIndexFlag",
+ "DISABLE_INDEX",
+ "FALSE",
+ "generate condensed index flag",
+ "The DISABLE_INDEX tag can be used to turn on/off the condensed index at \n"
+ "top of each HTML page. The value NO (the default) enables the index and \n"
+ "the value YES disables it. \n"
+ );
+ addDependency("noIndexFlag","generateHtml");
//-----------------------------------------------------------------------------------------------
ConfigInfo::add( "LaTeX","configuration options related to the LaTeX output");
//-----------------------------------------------------------------------------------------------