Dear Open Hub Users,
We’re excited to announce that we will be moving the Open Hub Forum to
https://community.synopsys.com/s/black-duck-open-hub.
Beginning immediately, users can head over,
register,
get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.
On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at
[email protected]
Code analysis of my Fortran shows 0 comments while in reality there are some, which have a lower-case c
in column 1.
Hi Glenn,
I can open a bug ticket for this.
I haven't used Fortran in well, decades, so my memory is hazy. I thought that 'c' comments only worked in fixed format, but obviously I'm mistaken. Can you point me to a reference that explains this?
If you really want to earn bonus points, here is the source code for the Fortran free-format parser, written as a Ragel state machine....
Your source code
link returns 404 - no such project
. Incidentally my code is probably really fixed format anyhow, misidentified as free format for some reason (perhaps because it is in lowercase).
The second_f
code was written according to Fortran 77 (SGI) which is described in http://laplace.physics.ubc.ca/Doc/sgi/f77ref/ and allows lowercase characters (the document does not seem to mention that that is an SGI extension).