diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-19 18:13:14 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-19 18:13:14 (GMT) |
commit | 8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77 (patch) | |
tree | 3ff0575884709cdc92f9e462441672f3549ab054 /src/code.l | |
parent | b5cbb79d114ed13945bc882ac8eef1c2be967bbf (diff) | |
download | Doxygen-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.l | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 ); } |