#13 incorrect parse of vim functions

closed-fixed
None
5
2001-11-27
2001-09-30
No

In vim scripts the function name can have a 's:'
prepended before the actual name (which must start
with a capital and only contains alphanumeric and '_').
This is not taken into account by the builtin vim
parser.

Discussion

  • Benoit Cerrina

    Benoit Cerrina - 2001-09-30
    • assigned_to: nobody --> dhiebert
     
  • Benoit Cerrina

    Benoit Cerrina - 2001-09-30

    Logged In: YES
    user_id=335201

    By the way functions with this prefix should be considered
    as static function in c files, they are local to a script

     
  • Benoit Cerrina

    Benoit Cerrina - 2001-09-30

    Logged In: YES
    user_id=335201

    An additional possible prefix in front of function names is
    <SID> function with this prefix should be treated the same
    as those with the s: prefix

     
  • Benoit Cerrina

    Benoit Cerrina - 2001-11-11

    Logged In: YES
    user_id=335201

    corrected in 5.1

     
  • Benoit Cerrina

    Benoit Cerrina - 2001-11-11
    • status: open --> open-fixed
     
  • Darren Hiebert

    Darren Hiebert - 2001-11-27
    • status: open-fixed --> closed-fixed
     
  • Darren Hiebert

    Darren Hiebert - 2001-11-27

    Logged In: YES
    user_id=38016

    Fixed in release 5.1, although such functions or variables
    are not yet marked as being of file-limited scope.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks