diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-05-22 18:35:23 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-05-22 18:35:23 (GMT) |
commit | f38608d4bec002a5051c860a599dd4d5229a9671 (patch) | |
tree | 699a18c9a8c098fc845ba00c7eb093c73b497c5c /src/pre.l | |
parent | 8013b5fe71402e6c6bfd867e348b6cad73bd7386 (diff) | |
download | Doxygen-f38608d4bec002a5051c860a599dd4d5229a9671.zip Doxygen-f38608d4bec002a5051c860a599dd4d5229a9671.tar.gz Doxygen-f38608d4bec002a5051c860a599dd4d5229a9671.tar.bz2 |
Release-1.1.3-20000522
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -171,12 +171,12 @@ static FILE *findFile(const char *fileName) { QCString cmd = Config::inputFilter+" "+absName; f=popen(cmd,"r"); - if (!f) warn("Warning: could not execute filter %s\n",cmd.data()); + if (!f) err("Error: could not execute filter %s\n",cmd.data()); } else { f=fopen(absName,"r"); - if (!f) warn("Warning: could not open file %s for reading\n",absName.data()); + if (!f) err("Error: could not open file %s for reading\n",absName.data()); } if (f) { @@ -761,7 +761,9 @@ void addDefine() { //bool ambig; //FileDef *fd=findFileDef(&inputNameDict,g_yyFileName,ambig); - MemberDef *md=new MemberDef("#define",g_defName,g_defArgsStr,0, + MemberDef *md=new MemberDef( + g_yyFileName,g_yyLineNr, + "#define",g_defName,g_defArgsStr,0, Public,Normal,FALSE,FALSE,MemberDef::Define,0,0); if (!g_defArgsStr.isEmpty()) { @@ -773,8 +775,8 @@ void addDefine() //printf("Setting initializer for `%s' to `%s'\n",g_defName.data(),g_defText.data()); md->setInitializer(g_defLitText); - md->setDefFile(g_yyFileName); - md->setDefLine(g_yyLineNr); + //md->setDefFile(g_yyFileName); + //md->setDefLine(g_yyLineNr); md->setFileDef(g_yyFileDef); md->setDefinition("#define "+g_defName); |