summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-09-07 00:28:05 -0700
committerGlenn Morris <rgm@gnu.org>2011-09-07 00:28:05 -0700
commit0f054abcece17599955b8ee34b4f8d7eec134a70 (patch)
tree815ce1427dfe562c1dc60a5703d9d23c612264f2 /lib-src
parentd0417b4cfa7db8073880949a744599e4cbcf26da (diff)
downloademacs-0f054abcece17599955b8ee34b4f8d7eec134a70.tar.gz
* lib-src/etags.c (Fortran_functions): Handle "elemental" functions.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog4
-rw-r--r--lib-src/etags.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index af026b6ba2c..984c4d6c880 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-07 Glenn Morris <rgm@gnu.org>
+
+ * etags.c (Fortran_functions): Handle "elemental" functions.
+
2011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
* etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 0197bbd49cc..ac5ebee9b07 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -4051,6 +4051,9 @@ Fortran_functions (FILE *inf)
if (LOOKING_AT_NOCASE (dbp, "pure"))
dbp = skip_spaces (dbp);
+ if (LOOKING_AT_NOCASE (dbp, "elemental"))
+ dbp = skip_spaces (dbp);
+
switch (lowcase (*dbp))
{
case 'i':