summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-06-22 20:14:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-06-22 20:14:03 (GMT)
commitb70a5b4f9325ec703db37394feeaa9ebc11228b4 (patch)
tree2f918f7da3205101b2a8a300ee9afefe247b3f24 /src/code.l
parent8375a55083e5232e65493e73cb594c9c5e9552ab (diff)
downloadDoxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.zip
Doxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.tar.gz
Doxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.tar.bz2
Release-1.5.9-20090622
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/code.l b/src/code.l
index 27ddf50..02e6858 100644
--- a/src/code.l
+++ b/src/code.l
@@ -410,22 +410,22 @@ static void popScope()
static void setCurrentDoc(const QCString &name,const QCString &base,const QCString &anchor="")
{
- static bool searchEngineEnabled=Config_getBool("SEARCHENGINE") &&
- Config_getBool("SOURCE_BROWSER");
- if (searchEngineEnabled)
- {
- Doxygen::searchIndex->setCurrentDoc(name,base,anchor);
- }
+ //static bool searchEngineEnabled=Config_getBool("SEARCHENGINE") &&
+ // Config_getBool("SOURCE_BROWSER");
+ //if (searchEngineEnabled)
+ //{
+ // Doxygen::searchIndex->setCurrentDoc(name,base,anchor);
+ //}
}
static void addToSearchIndex(const char *text)
{
- static bool searchEngineEnabled=Config_getBool("SEARCHENGINE") &&
- Config_getBool("SOURCE_BROWSER");
- if (searchEngineEnabled)
- {
- Doxygen::searchIndex->addWord(text,FALSE);
- }
+ //static bool searchEngineEnabled=Config_getBool("SEARCHENGINE") &&
+ // Config_getBool("SOURCE_BROWSER");
+ //if (searchEngineEnabled)
+ //{
+ // Doxygen::searchIndex->addWord(text,FALSE);
+ //}
}
static void setClassScope(const QCString &name)
@@ -1928,7 +1928,7 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
endFontClass();
BEGIN( Body );
}
-<Body>^[ \t]*"#" {
+<Body,Bases>^[ \t]*"#" {
startFontClass("preprocessor");
g_lastSkipCppContext = YY_START;
g_code->codify(yytext);