Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#86 wrong precedence applied to perl POD and "here document

closed-fixed
None
5
2003-12-20
2003-11-14
Christian Reis
No

Basically, ctags stops parsing when it reaches code
with the syntax below:

# ...
$this->print_log(<<EOM);
== Tinderbox Info
...
== End Tinderbox Client Info
EOM
# ...

-- but adding a space before the equals signs:

# ...
$this->print_log(<<EOM);
== Tinderbox Info
...
== End Tinderbox Client Info
EOM
# ...

-- makes ctags work as expected.

It sounds to me like ctags thinks it's a POD comment
when it
isn't--wrong precedence of POD vs. here document.

Discussion

  • Christian Reis
    Christian Reis
    2003-11-14

    Logged In: YES
    user_id=222305

    Ugh, SF ate my spaces. When I said "adding a space before
    the equals", I meant that if the "==" doesn't appear in the
    first column, it works as expected.

     
  • Darren Hiebert
    Darren Hiebert
    2003-12-11

    • assigned_to: nobody --> dhiebert
    • summary: wrong precedence applied to perl POD and "here document" --> wrong precedence applied to perl POD and "here document"
     
  • Darren Hiebert
    Darren Hiebert
    2003-12-20

    Logged In: YES
    user_id=38016

    Fixed by patch included below. Fix will be in next release.

     
  • Darren Hiebert
    Darren Hiebert
    2003-12-20

    • summary: wrong precedence applied to perl POD and "here document" --> wrong precedence applied to perl POD and "here document
    • status: open --> closed-fixed
     
  • Christian Reis
    Christian Reis
    2003-12-20

    Logged In: YES
    user_id=222305

    I'm a dork, and the SF.net bugtracker is horrific, but I
    just deleted the patch by mistake. :-(

    Anyway, Darren rocks -- thanks for the fix.