Possible Bug with Slash Specifier #490
julietgolf
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on some legacy code originally written in F66. There is a lot of
FORMAT(/...)
strewn through out the code. This is, for the most part, causing the parentheses and slash to highlight red. There are few exceptions where only the last parentheses is red. In vscode, the below code highlights(/...)
red for 1060, but only ) for 1061.Further, when nested like the below, both
(/
highlighted correctly and))
is highlighted red. It also caused the rest of the file to not highlight.It also fails on any
(.../)
,but It works fine with(//...)
and(...//)
. It just highlights the//
the same blue as it would with.EQ.
. All of the text is and format specifiers are highlighted correctly, including any/
that does not touch any parentheses My assumption is that fortls is assuming any instance of(/ or /)
is a part of an array constructor. so when it just sees one it assumes there is an unclosed constructor.Beta Was this translation helpful? Give feedback.
All reactions