summaryrefslogtreecommitdiffstats
path: root/src/defargs.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:29:47 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:29:47 (GMT)
commit6aa7383e23c850af36c25b87e5737a2e2f635083 (patch)
tree223d088e44a6b0956dd0437ed4851244b2e7f36c /src/defargs.l
parente04496cb647291b94c0b27b8babb127a79803579 (diff)
downloadDoxygen-6aa7383e23c850af36c25b87e5737a2e2f635083.zip
Doxygen-6aa7383e23c850af36c25b87e5737a2e2f635083.tar.gz
Doxygen-6aa7383e23c850af36c25b87e5737a2e2f635083.tar.bz2
mods for doxygen-0.49-990728
Diffstat (limited to 'src/defargs.l')
-rw-r--r--src/defargs.l17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/defargs.l b/src/defargs.l
index b7dfd57..d82c2fe 100644
--- a/src/defargs.l
+++ b/src/defargs.l
@@ -19,6 +19,7 @@
/*
* includes
*/
+#include "qtbc.h"
#include <stdio.h>
#include <iostream.h>
#include <assert.h>
@@ -40,10 +41,10 @@
static const char *inputString;
static int inputPosition;
static ArgumentList *argList;
-static QString *copyArgValue;
-static QString curArgTypeName;
-static QString curArgDefValue;
-static QString curArgName;
+static QCString *copyArgValue;
+static QCString curArgTypeName;
+static QCString curArgDefValue;
+static QCString curArgName;
static int argRoundCount;
static int argSharpCount;
static int argCurlyCount;
@@ -72,6 +73,8 @@ static int yyread(char *buf,int max_size)
B [ \t]
ID [a-z_A-Z][a-z_A-Z0-9]*
+%option noyywrap
+
%x Start
%x CopyArgString
%x CopyArgRound
@@ -239,7 +242,7 @@ ID [a-z_A-Z][a-z_A-Z0-9]*
}
}
<ReadFuncArgType,ReadFuncArgPtr>{ID} {
- QString name=yytext; //resolveDefines(yytext);
+ QCString name=yytext; //resolveDefines(yytext);
//printf("resolveName `%s'->`%s'\n",yytext,name.data());
curArgTypeName+=name;
}
@@ -250,7 +253,7 @@ ID [a-z_A-Z][a-z_A-Z0-9]*
curArgDefValue+=*yytext;
}
<CopyArgRound,CopyArgRound2,CopyArgSharp,CopyArgCurly>{ID} {
- QString name=yytext; //resolveDefines(yytext);
+ QCString name=yytext; //resolveDefines(yytext);
*copyArgValue+=name;
}
<CopyArgRound,CopyArgRound2,CopyArgSharp,CopyArgCurly>. {
@@ -293,6 +296,6 @@ void stringToArgumentList(const char *argsString,ArgumentList* &al)
}
extern "C" { // some bogus code to keep the compiler happy
- int defargsYYwrap() { return 1 ; }
+// int defargsYYwrap() { return 1 ; }
void defargsYYdummy() { yy_flex_realloc(0,0); }
}