Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enh(fortran) Add support for FORTRAN 77 style comments (#2416)
Closes #2310.
- Loading branch information
1 parent
83996aa
commit d2e7493
Showing
4 changed files
with
70 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<span class="hljs-comment">C</span> | ||
<span class="hljs-comment">C This program in FORTRAN 77 outputs "Hello, World!".</span> | ||
<span class="hljs-comment">C ====================================================</span> | ||
|
||
<span class="hljs-comment">!===============================</span> | ||
<span class="hljs-comment">! This is a test subroutine</span> | ||
<span class="hljs-comment">!===============================</span> | ||
|
||
<span class="hljs-comment">! another comment</span> | ||
|
||
C=<span class="hljs-number">2</span> | ||
C = <span class="hljs-number">2</span> <span class="hljs-comment">!correct</span> | ||
C =<span class="hljs-string">'boo'</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
C | ||
C This program in FORTRAN 77 outputs "Hello, World!". | ||
C ==================================================== | ||
|
||
!=============================== | ||
! This is a test subroutine | ||
!=============================== | ||
|
||
! another comment | ||
|
||
C=2 | ||
C = 2 !correct | ||
C ='boo' |