Skip to content

Commit

Permalink
Rename vStringItem to vStringChar
Browse files Browse the repository at this point in the history
See 7171591b6943df46a75e52a3995afc39a193a8ee upstream.
  • Loading branch information
techee committed Nov 18, 2020
1 parent 353ceff commit 04eec18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ctags/parsers/css.c
Expand Up @@ -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 == '#')
Expand Down
2 changes: 1 addition & 1 deletion ctags/parsers/verilog.c
Expand Up @@ -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 ());
Expand Down

0 comments on commit 04eec18

Please sign in to comment.