#343 Problem ID: 1795926 persists in SVN Revision 804

open
nobody
None
7
2013-01-26
2013-01-26
Anonymous
No

I downloaded and build SVN Revision 804, and found no difference between its behavior and the behavior of version 5.8 when invoked thus:

ctags -f ctags.dump --langmap="PHP:.php" test.php

with this test file (test.php):

<?php

/**
class TestOne {
// ctags Rev 804 *should not* generate a 'c' tag for this class
}
*/
class TestTwo {
// ctags Rev 804 *should* generate a 'c' tag for this class
}

?>

Here's what ctags.dump looks for ctags 5.8:

!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.8 //
TestOne test.php /^class TestOne {$/;" c
TestTwo test.php /^class TestTwo {$/;" c

And here's what ctags.dump looks like for SVN Revision 804:

!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION Development //
TestOne test.php /^class TestOne {$/;" c
TestTwo test.php /^class TestTwo {$/;" c

Discussion


  • Anonymous
    2013-01-26

    • summary: The original problem persists in SVN Revision 804 --> Problem ID: 1795926 persists in SVN Revision 804
    • priority: 5 --> 7
     
    Last edit: Anonymous 2014-07-17