[geany/geany] 205bab: JavaScript parser: properly consume closing brace after a block in findCmdTerm()

Colomban Wendling git-noreply at xxxxx
Mon Sep 24 23:29:33 UTC 2012


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Mon, 24 Sep 2012 23:29:33
Commit:      205bab83d7d7bbedc16f00f9b6b5b71199d4fde8
             https://github.com/geany/geany/commit/205bab83d7d7bbedc16f00f9b6b5b71199d4fde8

Log Message:
-----------
JavaScript parser: properly consume closing brace after a block in findCmdTerm()


Modified Paths:
--------------
    tagmanager/ctags/js.c

Modified: tagmanager/ctags/js.c
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -590,6 +590,7 @@ static void findCmdTerm (tokenInfo *const token)
 		if ( isType (token, TOKEN_OPEN_CURLY))
 		{
 			parseBlock (token, token);
+			readToken (token);
 		}
 		else if ( isType (token, TOKEN_OPEN_PAREN) )
 		{



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list