summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-06-22 20:14:03 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-06-22 20:14:03 (GMT)
commit7c0a46b50fad0925e47b78326f8c2e92e3829fb4 (patch)
tree2f918f7da3205101b2a8a300ee9afefe247b3f24 /src/code.l
parent7a3de4c3c8aac25c38b6e93bb0927de40cd1c650 (diff)
downloadDoxygen-7c0a46b50fad0925e47b78326f8c2e92e3829fb4.zip
Doxygen-7c0a46b50fad0925e47b78326f8c2e92e3829fb4.tar.gz
Doxygen-7c0a46b50fad0925e47b78326f8c2e92e3829fb4.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);