mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
* Removing FORTRAN samples because OS X case-insensitive filesystems :-\ * Adding Fotran samples back * FORTRAN -> Fortran * Groff -> Roff * GAS -> Unix Assembly * Cucumber -> Gherkin * Nimrod -> Nim * Ragel in Ruby Host -> Ragel * Jade -> Pug * VimL -> Vim script
26 lines
340 B
Fortran
26 lines
340 B
Fortran
c comment
|
|
* comment
|
|
|
|
program main
|
|
|
|
end
|
|
|
|
subroutine foo( i, x, b )
|
|
INTEGER i
|
|
REAL x
|
|
LOGICAL b
|
|
|
|
if( i.ne.0 ) then
|
|
call bar( -i )
|
|
end if
|
|
|
|
return
|
|
end
|
|
|
|
double complex function baz()
|
|
|
|
baz = (0.0d0,0.0d0)
|
|
|
|
return
|
|
end
|