Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    perl lexer broken

    Help wanted · · · – – – · · ·
    perl
    2
    2
    1769
    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 Myers
      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 Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        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
        Copyright © 2014 NodeBB Forums | Contributors