[geany/geany] e1b115: Added tests for the inclusion of ASSOCIATE in the tag manager

Adam Hirst git-noreply at xxxxx
Fri Feb 14 18:31:08 UTC 2014


Branch:      refs/heads/master
Author:      Adam Hirst <adam at aphirst.karoo.co.uk>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 14 Feb 2014 18:31:08 UTC
Commit:      e1b115ee52cecce68277f850f6ebb18cc0f044fc
             https://github.com/geany/geany/commit/e1b115ee52cecce68277f850f6ebb18cc0f044fc

Log Message:
-----------
Added tests for the inclusion of ASSOCIATE in the tag manager


Modified Paths:
--------------
    tests/ctags/Makefile.am
    tests/ctags/fortran_associate.f90
    tests/ctags/fortran_associate.f90.tags

Modified: tests/ctags/Makefile.am
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -126,6 +126,7 @@ test_sources = \
 	extern_variable.h				\
 	forall_module.f90				\
 	format.pl						\
+	fortran_associate.f90			\
 	func_typedef.h					\
 	general.cs						\
 	hex2dec.sql						\


Modified: tests/ctags/fortran_associate.f90
20 files changed, 20 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,20 @@
+module with_associate
+  real :: a
+
+contains
+
+  function do_stuff(a) result(c)
+    real, intent(in) :: a
+
+    associate (b => a)
+      c = b
+    end associate
+  end function do_stuff
+
+  subroutine do_other_stuff(a)
+    real, intent(in out) :: a
+
+    a = 2 * a
+  end subroutine do_other_stuff
+
+end module with_associate


Modified: tests/ctags/fortran_associate.f90.tags
5 files changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,5 @@
+# format=tagmanager
+aÌ16384Îwith_associateÖ0
+do_other_stuffÌ64Îwith_associateÖ0
+do_stuffÌ16Îwith_associateÖ0
+with_associateÌ256Ö0



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list