Community
    • Login

    perl lexer broken

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    perl
    2 Posts 2 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Hugh MyersH
      Hugh Myers
      last edited by

      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?

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Hugh Myers
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors