perl lexer broken
-
The perl lexer in version 6.88 is both out of date and broken. For instance the key words ‘given’, ‘when’, ‘last’ and ‘say’ are treated as names of subroutines. In addition, the lexer does not distinguish between $var[ and $var{, the first is a reference to an array element and the second is a reference to a hash element. Is there a fix?
-
Hello Hugh-Myers,
the keywords can be added. Within the npp installation directory goto the
…Notepad++\plugins\APIs directory and edit the perl.xml file accordingly.Regarding the references, it sounds like it was working before, wasn’t it?
I checked the bug and features request and didn’t see any ticket referring to it.So if it was working and now doesn’t you may open a bug ticket here or
if it wasn’t working before you may open a feature request here.Cheers
Claudia
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login