summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-08-19 18:13:14 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-08-19 18:13:14 (GMT)
commit8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77 (patch)
tree3ff0575884709cdc92f9e462441672f3549ab054 /src/code.l
parentb5cbb79d114ed13945bc882ac8eef1c2be967bbf (diff)
downloadDoxygen-8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77.zip
Doxygen-8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77.tar.gz
Doxygen-8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77.tar.bz2
Release-1.2.9-20010819
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code.l b/src/code.l
index 1c6506c..c07841b 100644
--- a/src/code.l
+++ b/src/code.l
@@ -36,8 +36,8 @@
#define YY_NEVER_INTERACTIVE 1
-#define SCOPEBLOCK (void *)1
-#define INNERBLOCK (void *)2
+#define SCOPEBLOCK (int *)4
+#define INNERBLOCK (int *)8
/*! local class definition, used for classes that are defined
* inside code fragments.
@@ -109,7 +109,7 @@ static QCString g_parmName;
static bool g_inClass;
static QCString g_classScope;
static QCString g_realScope;
-static QStack<void> g_scopeStack; // 1 if bracket starts a scope, 2 for internal blocks
+static QStack<int> g_scopeStack; // 1 if bracket starts a scope, 2 for internal blocks
static CodeClassDef g_ccd;
static CodeVarDef g_cvd;
static bool g_exampleBlock;
@@ -939,7 +939,7 @@ TYPEKW ("bool"|"char"|"double"|"float"|"int"|"long"|"short"|"signed"|"unsigned"
}
else
{
- g_scopeStack.push((void *)2);
+ g_scopeStack.push(INNERBLOCK);
}
BEGIN( Body );
}