Re: FORTRAN syntax file
Posted: 29 Aug 2011 16:28
I'll see if I can come up with something...but 5 different ways to make a line comment seems a bit much. An array of different values is probably the best solution e.g. =C|D|c|d|!|.
As I said, it's not mission critical. However, it seems to me that a regex might be the *best* solution. In the case of Fortran, something like this would be perfect.Rickard Johansson wrote:I'll see if I can come up with something...but 5 different ways to make a line comment seems a bit much. An array of different values is probably the best solution e.g. =C|D|c|d|!|.
Code: Select all
^[CcDd!]