diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-08-19 18:13:14 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-08-19 18:13:14 (GMT) |
commit | 2f7902073680b977b74f3faeada95119ec767eb3 (patch) | |
tree | 3ff0575884709cdc92f9e462441672f3549ab054 /src/code.l | |
parent | eed6800521ab6f21c41f485820ec1ee2def42e94 (diff) | |
download | Doxygen-2f7902073680b977b74f3faeada95119ec767eb3.zip Doxygen-2f7902073680b977b74f3faeada95119ec767eb3.tar.gz Doxygen-2f7902073680b977b74f3faeada95119ec767eb3.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 ); } |