Permalink
Browse files

Bug 623299 - Fortran: quotation after define causes error

For the determination whether the file is free or fixed formatted code just see lines starting with # as comment lines
  • Loading branch information...
albert-github committed Apr 21, 2014
1 parent cf591d2 commit f083109de116ee2c6e2a31a15ebc17d2dff008e0
Showing with 6 additions and 0 deletions.
  1. +3 −0 src/fortrancode.l
  2. +3 −0 src/fortranscanner.l
View
@@ -173,6 +173,9 @@ static bool recognizeFixedForm(const char* contents, FortranFormat format)
break;
case ' ':
break;
case '#':
skipLine=TRUE;
break;
case '\000':
return FALSE;
case 'C':
View
@@ -1333,6 +1333,9 @@ static bool recognizeFixedForm(const char* contents, FortranFormat format)
break;
case '\000':
return FALSE;
case '#':
skipLine=TRUE;
break;
case 'C':
case 'c':
case '*':

0 comments on commit f083109

Please sign in to comment.