diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-12-21 21:03:59 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-12-21 21:03:59 (GMT) |
commit | f1dfb258b6a6e29e267bcf2e5dcf77168af52cf3 (patch) | |
tree | 4cba2cc60a5a2a7a7965944fa0bd64213bdfa9f0 /src/declinfo.l | |
parent | a17029cb0765fc41b79b3c94a28d734071f13176 (diff) | |
download | Doxygen-f1dfb258b6a6e29e267bcf2e5dcf77168af52cf3.zip Doxygen-f1dfb258b6a6e29e267bcf2e5dcf77168af52cf3.tar.gz Doxygen-f1dfb258b6a6e29e267bcf2e5dcf77168af52cf3.tar.bz2 |
Release-1.3.9.1-20041221
Diffstat (limited to 'src/declinfo.l')
-rw-r--r-- | src/declinfo.l | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/declinfo.l b/src/declinfo.l index d115fb1..0c67a80 100644 --- a/src/declinfo.l +++ b/src/declinfo.l @@ -117,7 +117,9 @@ ID ([a-z_A-Z][a-z_A-Z0-9]*)|(@[0-9]+) name += yytext; BEGIN(Operator); } -<Start>(~{B}*)?{ID}({B}*"["{B}*"]")* { // the []'s are for Java +<Start>(~{B}*)?{ID}/({B}*"["{B}*"]")* { // the []'s are for Java, + // the / was add to deal with multi- + // dimensional C++ arrays like A[][15] addTypeName(); name += yytext; } @@ -331,3 +333,11 @@ int main() dumpDecl("void ( * Name < T > :: bla ) ( int, char * )"); } #endif + +#if !defined(YY_FLEX_SUBMINOR_VERSION) +//---------------------------------------------------------------------------- +extern "C" { // some bogus code to keep the compiler happy + void declinfoYYdummy() { yy_flex_realloc(0,0); } +} +#endif + |