Skip to content

Commit

Permalink
Varlink: fix a typo in a function name (s/Varlik/Varlink/g)
Browse files Browse the repository at this point in the history
Suggested by @k-takata.
  • Loading branch information
masatake committed Jun 27, 2020
1 parent 62f0144 commit 3526ccb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions peg/varlink.peg
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ _

field_name
<- < [A-Za-z]('_'?[A-Za-z0-9])* > {
makeVarlikTag(auxil, $1, $1s);
makeVarlinkTag(auxil, $1, $1s);
}

field_name_list
Expand All @@ -105,12 +105,12 @@ field_name_list
name
<- < [A-Z][A-Za-z0-9]* > {
if (peekKind(auxil) != KIND_GHOST_INDEX)
auxil->scope_cork_index = makeVarlikTag(auxil, $1, $1s);
auxil->scope_cork_index = makeVarlinkTag(auxil, $1, $1s);
}

interface_name
<- < [a-z]([-]* [a-z0-9])* ( '.' [a-z0-9]([-]*[a-z0-9])* )+ > {
auxil->scope_cork_index = makeVarlikTag(auxil, $1, $1s);
auxil->scope_cork_index = makeVarlinkTag(auxil, $1, $1s);
}

dict
Expand Down
2 changes: 1 addition & 1 deletion peg/varlink_post.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static void reportError (struct parserCtx *auxil)
getInputFileName());
}

static int makeVarlikTag (struct parserCtx *auxil, const char *name, long offset)
static int makeVarlinkTag (struct parserCtx *auxil, const char *name, long offset)
{
tagEntryInfo e;
int k = peekKind (auxil);
Expand Down
2 changes: 1 addition & 1 deletion peg/varlink_pre.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ static void pushKindContextual (struct parserCtx *auxil);
static int peekKind (struct parserCtx *auxil);
static void setMethodParamState (struct parserCtx *auxil, methodParamState s);
static void reportError (struct parserCtx *auxil);
static int makeVarlikTag (struct parserCtx *auxil, const char *name, long offset);
static int makeVarlinkTag (struct parserCtx *auxil, const char *name, long offset);

0 comments on commit 3526ccb

Please sign in to comment.