Branch: refs/heads/master Author: Alexander Eberspächer alex.eberspaecher@gmail.com Committer: Colomban Wendling ban@herbesfolles.org Date: Mon, 24 Jun 2013 20:50:11 UTC Commit: 2f31f7477b2b81ae9bc323a016a36e7f970ed2a9 https://github.com/geany/geany/commit/2f31f7477b2b81ae9bc323a016a36e7f970ed2...
Log Message: ----------- Fix tag generation for Fortran with 'forall' blocks
* Add 'forall' as a keyword * Add a check that allows 'forall' as a secondary keyword in 'end' statements.
Modified Paths: -------------- tagmanager/ctags/fortran.c
Modified: tagmanager/ctags/fortran.c 5 files changed, 4 insertions(+), 1 deletions(-) =================================================================== @@ -84,6 +84,7 @@ KEYWORD_equivalence, KEYWORD_extends, KEYWORD_external, + KEYWORD_forall, KEYWORD_format, KEYWORD_function, KEYWORD_if, @@ -249,6 +250,7 @@ { "equivalence", KEYWORD_equivalence }, { "extends", KEYWORD_extends }, { "external", KEYWORD_external }, + { "forall", KEYWORD_forall }, { "format", KEYWORD_format }, { "function", KEYWORD_function }, { "if", KEYWORD_if }, @@ -2045,7 +2047,8 @@ static boolean parseExecutionPart (tokenInfo *const token) if (isSecondaryKeyword (token, KEYWORD_do) || isSecondaryKeyword (token, KEYWORD_if) || isSecondaryKeyword (token, KEYWORD_select) || - isSecondaryKeyword (token, KEYWORD_where)) + isSecondaryKeyword (token, KEYWORD_where) || + isSecondaryKeyword (token, KEYWORD_forall)) { skipToNextStatement (token); result = TRUE;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).