diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-05-22 18:35:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-05-22 18:35:23 (GMT) |
commit | 745526b6e9683de926af27c4313574a514a3d7c3 (patch) | |
tree | 699a18c9a8c098fc845ba00c7eb093c73b497c5c /src/pre.l | |
parent | 4f5775494986411db398172e98380acb76d5e3e6 (diff) | |
download | Doxygen-745526b6e9683de926af27c4313574a514a3d7c3.zip Doxygen-745526b6e9683de926af27c4313574a514a3d7c3.tar.gz Doxygen-745526b6e9683de926af27c4313574a514a3d7c3.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); |