diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-21 21:03:59 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-21 21:03:59 (GMT) |
commit | 04a4eddbeaa2fef70fe87a790efabe074062fadf (patch) | |
tree | 4cba2cc60a5a2a7a7965944fa0bd64213bdfa9f0 /src/declinfo.l | |
parent | d048df9811a8686d93dc28f275a1c5c575833669 (diff) | |
download | Doxygen-04a4eddbeaa2fef70fe87a790efabe074062fadf.zip Doxygen-04a4eddbeaa2fef70fe87a790efabe074062fadf.tar.gz Doxygen-04a4eddbeaa2fef70fe87a790efabe074062fadf.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 + |