summaryrefslogtreecommitdiffstats
path: root/src/fortranscanner.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-07-29 10:11:12 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-07-29 10:11:12 (GMT)
commit103e4fb7fff489fc483f4d3c9c86da41a25926be (patch)
treeb0768f059d8b116092a15f295347b3797f43e6c0 /src/fortranscanner.l
parentaa849afd11acf245033a5965a2c7c96b26db3bf0 (diff)
downloadDoxygen-103e4fb7fff489fc483f4d3c9c86da41a25926be.zip
Doxygen-103e4fb7fff489fc483f4d3c9c86da41a25926be.tar.gz
Doxygen-103e4fb7fff489fc483f4d3c9c86da41a25926be.tar.bz2
Release-1.8.1.2-20120729
Diffstat (limited to 'src/fortranscanner.l')
-rw-r--r--src/fortranscanner.l9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index a5902a8..69f6143 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -67,8 +67,7 @@
#include "arguments.h"
#define YY_NEVER_INTERACTIVE 1
-
-class Arguments;
+#define YY_NO_INPUT 1
enum ScanVar { V_IGNORE, V_VARIABLE, V_PARAMETER};
enum InterfaceType { IF_NONE, IF_SPECIFIC, IF_GENERIC, IF_ABSTRACT };
@@ -205,7 +204,6 @@ static void scanner_abort();
static void startScope(Entry *scope);
static bool endScope(Entry *scope, bool isGlobalRoot=FALSE);
-static QCString getFullName(Entry *e);
//static bool isTypeName(QCString name);
static void resolveModuleProcedures(QList<Entry> &moduleProcedures, Entry *current_root);
static int getAmpersandAtTheStart(const char *buf, int length);
@@ -1856,6 +1854,7 @@ static bool endScope(Entry *scope, bool isGlobalRoot)
return TRUE;
}
+#if 0
//! Return full name of the entry. Sometimes we must combine several names recursively.
static QCString getFullName(Entry *e)
{
@@ -1866,6 +1865,7 @@ static QCString getFullName(Entry *e)
return getFullName(e->parent())+"::"+name;
}
+#endif
static int yyread(char *buf,int max_size)
{
@@ -2104,7 +2104,9 @@ static void subrHandleCommentBlock(const QCString &doc,bool brief)
}
//----------------------------------------------------------------------------
+#if 0
static int level=0;
+
static void debugCompounds(Entry *rt) // print Entry structure (for debugging)
{
level++;
@@ -2117,6 +2119,7 @@ static void debugCompounds(Entry *rt) // print Entry structure (for debugging)
}
level--;
}
+#endif
static void parseMain(const char *fileName,const char *fileBuf,Entry *rt)