FORTRAN syntax file
- Rickard Johansson
- Site Admin
- Posts: 6637
- Joined: 19 Jul 2006 14:29
Re: FORTRAN syntax file
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|!|.
Re: FORTRAN syntax file
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!]
Thanks,
Jeff
- Rickard Johansson
- Site Admin
- Posts: 6637
- Joined: 19 Jul 2006 14:29
Re: FORTRAN syntax file
Well, I added the ability to add several values to both LineCommentA and B. Values are separated by |.
So
LineCommentA=C|D|c|d|!
works fine in the next release.
So
LineCommentA=C|D|c|d|!
works fine in the next release.
Re: FORTRAN syntax file
Sounds good - thanks!
Jeff
Jeff