Add detection of PKGBUILD files as Shell scripts
[geany-mirror.git] / tests / ctags / bug612621.pl
blobeca78c9442c4da3e5a76374a9e1abd2513ff11bc
1 =pod
2 Bugs item #612621, was opened at 2002-09-21 21:23
3 You can respond by visiting:
4 https://sourceforge.net/tracker/?func=detail&atid=106556&aid=612621&group_id=6556
6 Category: None
7 Group: None
8 Status: Open
9 Resolution: None
10 Priority: 5
11 Submitted By: Richard Donkin (rdonkin)
12 Assigned to: Nobody/Anonymous (nobody)
13 Summary: Perl POD syntax -> incomplete tags file
15 Initial Comment:
16 In the following test file, ctags 5.2.3 (compiled from
17 source on Cygwin) only adds the first subroutine (bar) to
18 the tags file, when run using:
20 ctags --totals --
21 language-force=perl temp
23 -----------------
24 =cut
25 sub bar()
28 print "blah\n";
30 =for
31 print "blah2\n";
33 Note: next line has trailing space
34 =cut
39 sub foo {
40 print "hello\n";
42 =pod
43 The
44 tags file looks like
45 this:
46 !_TAG_FILE_FORMAT 2 /extended format; -- format=1 will not append ;" to lines/
47 !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted/
48 !_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
49 !_TAG_PROGRAM_NAME Exuberant Ctags //
50 !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
51 !_TAG_PROGRAM_VERSION 5.2.3 //
52 bar temp /^sub bar() {$/;" s
54 The workaround is to delete the
55 trailing space at the end of the '=cut' line.
57 =cut