Fortran syntax highlighting thinks every line that starts with C is a comment

Asked by Rob Lourens

This was true in Fortran 77. I'm using Fortran 90 and the syntax highlighting is supposed to be for Fortran 95, both of which denote comments with !.
So every line that starts with CHARACTER or CALL goes blue. Is there a file I can tweak to keep it from doing this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gedit Edit question
Assignee:
No assignee Edit question
Solved by:
Rob Lourens
Solved:
Last query:
Last reply:
Revision history for this message
Rob Lourens (roblourens) said :
#1

This can be fixed by deleting

|(^[Cc](\b|[^Oo]))

in /usr/share/gtksourceview-2.0/language-specs

As far as I can tell, all this does is comment anything that starts with C, unless the next letter is O.

Revision history for this message
Rob Lourens (roblourens) said :
#2

I meant the file fortran.lang in /usr/share/gtksourceview-2.0/language-specs.