summaryrefslogtreecommitdiffstats
path: root/src/fortranscanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2011-03-18 12:28:51 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2011-03-18 12:28:51 (GMT)
commit62d4d65ad07413ca2f6d04939e2273dc3e0db957 (patch)
tree508ebb12307a415eda445ef2fb51e14bad8b33fe /src/fortranscanner.l
parent01055ab4cb79d93db1e62eb6866b4bf7b7665149 (diff)
downloadDoxygen-62d4d65ad07413ca2f6d04939e2273dc3e0db957.zip
Doxygen-62d4d65ad07413ca2f6d04939e2273dc3e0db957.tar.gz
Doxygen-62d4d65ad07413ca2f6d04939e2273dc3e0db957.tar.bz2
Partial revert "Fix for bug 644350: fixed format line continuations."
This _partially_ reverts fixes already applied by the patch from bug 521861.
Diffstat (limited to 'src/fortranscanner.l')
-rw-r--r--src/fortranscanner.l11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index 6defa39..4dad36d 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -1225,13 +1225,12 @@ static const char* prepassFixedForm(const char* contents)
case 'C':
case 'c':
case '*':
- if(column==1) {
+ emptyLabel=FALSE;
+ if(column==1)
newContents[j]='!';
- emptyLabel=FALSE;
- break;
- } else {
- // proceed to the next rule
- }
+ else
+ newContents[j]=c;
+ break;
default:
if(column==6 && emptyLabel) { // continuation
newContents[j]=' ';