[geany/geany] 04eec1: Rename vStringItem to vStringChar

Jiří Techet git-noreply at xxxxx
Sun Feb 7 21:31:38 UTC 2021


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Wed, 18 Nov 2020 23:13:15 UTC
Commit:      04eec181710a1e8537b7f4f83e98658e3cf18907
             https://github.com/geany/geany/commit/04eec181710a1e8537b7f4f83e98658e3cf18907

Log Message:
-----------
Rename vStringItem to vStringChar

See 7171591b6943df46a75e52a3995afc39a193a8ee upstream.


Modified Paths:
--------------
    ctags/parsers/css.c
    ctags/parsers/verilog.c

Modified: ctags/parsers/css.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -143,7 +143,7 @@ static cssKind classifySelector (const vString *const selector)
 
 	for (i = vStringLength (selector); i > 0; --i)
 	{
-		char c = vStringItem (selector, i - 1);
+		char c = vStringChar (selector, i - 1);
 		if (c == '.')
 			return K_CLASS;
 		else if (c == '#')


Modified: ctags/parsers/verilog.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -250,7 +250,7 @@ static void tagNameList (const verilogKind kind, int c)
 static void findTag (vString *const name)
 {
 	const verilogKind kind = (verilogKind) lookupKeyword (vStringValue (name), Lang_verilog);
-	if (kind == K_CONSTANT && vStringItem (name, 0) == '`')
+	if (kind == K_CONSTANT && vStringChar (name, 0) == '`')
 	{
 		/* Bug #961001: Verilog compiler directives are line-based. */
 		int c = skipWhite (vGetc ());



--------------
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