[Github-comments] [geany] Issue in COBOL Highlighting keywords starting with V (#930)

elextr notifications at xxxxx
Thu Mar 3 10:07:44 UTC 2016


On 3 March 2016 at 19:44, Franck Albaret <notifications at github.com> wrote:

> Hi,
>
> For professional needs, I'm using Geany for coding in COBOL. The filetype
> is pretty basic and I try to improve it by adding a secondary keywords
> declaration line and missing keywords.
>
> But I have 2 issues : when I type only the character 'V' in a source I
> have the color of the numbers on it and all the keywords starting with V
> are not highlighted (like VALUE or VARYING). I think maybe 'V' is
> considered a roman numeral (although I don't have the same problems with
> 'I' or 'X').
>
​No, its part of a number, see
https://github.com/geany/geany/blob/master/scintilla/lexers/LexCOBOL.cxx#L98
and L102

Some googling seems to show that v can be used instead of a decimal point
in cobol numbers
​
​Don't know what your solution is.​




> Is anybody has an idea of the problem ?
>
> Thank you in advance !
>
> Best regards,
> Franck
>
>> Reply to this email directly or view it on GitHub
> <https://github.com/geany/geany/issues/930>.
>


---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/930#issuecomment-191691873
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160303/2a836fd1/attachment.html>


More information about the Github-comments mailing list