https://defect.opensolaris.org/bz/show_bug.cgi?id=15970

--- Comment #2 from Charles T Hart <[email protected]> 2011-07-20 14:44:21 
UTC ---
Fortran is wholly case insensitive language and "white space free" to boot.  If
you're the sun, ibm or gcc compiler, you would be down casing all the symbols
and adding a "_" at the end of them.  For instance:
      S ubRotin E  SM
C An annoying comment in the middle of things that messes up lexers sometimes
     +  ith

Is the start of a subroutine named "smith_".

For more than you ever wanted to know about "Sale's Algorithm" for lexing
fortran files, see some of the following:

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.50.8362&rep=rep1&type=pdf

Google returns other results too, but section 2.2.1 of that paper and its
appendix A tells you pretty much everything you need to know.

-CTH

-- 
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to