diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-11-19 15:15:27 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-11-19 15:15:27 (GMT) |
commit | 903cf7cad0e2a1c0e22537621a770544fa4e84ee (patch) | |
tree | 73fb7f0440c64c3b3ce21bfc475058ffb46a5bfc /src/scanner.l | |
parent | 020742ed4dfa75aaa373cec43a94dc5b02e15f08 (diff) | |
download | Doxygen-903cf7cad0e2a1c0e22537621a770544fa4e84ee.zip Doxygen-903cf7cad0e2a1c0e22537621a770544fa4e84ee.tar.gz Doxygen-903cf7cad0e2a1c0e22537621a770544fa4e84ee.tar.bz2 |
Release-1.2.3-20001119
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index abf1b26..6bd6f2d 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -87,6 +87,7 @@ static int roundCount = 0 ; static int curlyCount = 0 ; static int squareCount = 0 ; static int ifCount = 0 ; +static int padCount = 0 ; static int todoStartContext = 0; static QCString todoString = 0; static int testStartContext = 0; @@ -1267,6 +1268,11 @@ TITLE [tT][iI][tT][lL][eE] *pCopyCurlyString+=*yytext; } <FindMembers>":" { + if (current->type.isEmpty()) // bit pad field + { + addType(current); + current->name.sprintf("__pad%d__",padCount++); + } BEGIN(BitFields); current->bitfields+=":"; } @@ -3485,6 +3491,7 @@ static void parseCompounds(Entry *rt) //printf("-- %s ---------\n%s\n---------------\n", // ce->name.data(),ce->program.data()); // init scanner state + padCount=0; inputString = ce->program; inputPosition = 0; scanYYrestart( scanYYin ) ; |