Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
01055ab4
Commit
01055ab4
authored
Mar 18, 2011
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 644350: fixed format line continuations.
parent
4af88367
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
fortranscanner.l
src/fortranscanner.l
+8
-7
No files found.
src/fortranscanner.l
View file @
01055ab4
...
...
@@ -1225,12 +1225,13 @@ static const char* prepassFixedForm(const char* contents)
case 'C':
case 'c':
case '*':
emptyLabel=FALSE;
if(column==1)
if(column==1) {
newContents[j]='!';
else
newContents[j]=c;
break;
emptyLabel=FALSE;
break;
} else {
// proceed to the next rule
}
default:
if(column==6 && emptyLabel) { // continuation
newContents[j]=' ';
...
...
@@ -2029,8 +2030,8 @@ void FortranLanguageScanner::parseCode(CodeOutputInterface & codeOutIntf,
bool FortranLanguageScanner::needsPreprocessing(const QCString &extension)
{
(void)extension;
return TRUE
;
return !(extension==".f"||extension==".f90"||
extension==".f95"||extension==".f03")
;
}
void FortranLanguageScanner::resetCodeParserState()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment