summaryrefslogtreecommitdiffstats
path: root/src/fortrancode.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-03-15 15:50:07 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-03-15 15:50:07 (GMT)
commit941eea998d6b9608b8fc586069ef90e805d771f5 (patch)
tree84b206b6d9fdcb807f7b4dade976c68035b34ed9 /src/fortrancode.l
parentc1e25238950492e7f8a5c996e3d3ad41b9b023b0 (diff)
downloadDoxygen-941eea998d6b9608b8fc586069ef90e805d771f5.zip
Doxygen-941eea998d6b9608b8fc586069ef90e805d771f5.tar.gz
Doxygen-941eea998d6b9608b8fc586069ef90e805d771f5.tar.bz2
Some restructuring and some compiler warning fixes
Diffstat (limited to 'src/fortrancode.l')
-rw-r--r--src/fortrancode.l12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l
index 8640f15..c31080b 100644
--- a/src/fortrancode.l
+++ b/src/fortrancode.l
@@ -154,14 +154,14 @@ static int bracketCount = 0;
// simplified way to know if this is fixed form
// duplicate in fortranscanner.l
-static bool recognizeFixedForm(const char* contents, FortranKind codeType)
+static bool recognizeFixedForm(const char* contents, FortranFormat format)
{
int column=0;
bool skipLine=FALSE;
- if (codeType == FORTRAN_FIXED) return TRUE;
- if (codeType == FORTRAN_FREE) return FALSE;
- for (int i=0;;i++)
+ if (format == FortranFormat_Fixed) return TRUE;
+ if (format == FortranFormat_Free) return FALSE;
+ for (int i=0;;i++)
{
column++;
@@ -1110,7 +1110,7 @@ void parseFortranCode(CodeOutputInterface &od,const char *className,const QCStri
bool exBlock, const char *exName,FileDef *fd,
int startLine,int endLine,bool inlineFragment,
MemberDef *memberDef,bool,Definition *searchCtx,
- bool collectXRefs, FortranKind codeType)
+ bool collectXRefs, FortranFormat format)
{
//printf("***parseCode() exBlock=%d exName=%s fd=%p\n",exBlock,exName,fd);
@@ -1124,7 +1124,7 @@ void parseFortranCode(CodeOutputInterface &od,const char *className,const QCStri
g_code = &od;
g_inputString = s;
g_inputPosition = 0;
- g_isFixedForm = recognizeFixedForm((const char*)s,codeType);
+ g_isFixedForm = recognizeFixedForm((const char*)s,format);
g_currentFontClass = 0;
g_needsTermination = FALSE;
g_searchCtx = searchCtx;