Skip to content

Commit

Permalink
getstateChar -> getStateChar
Browse files Browse the repository at this point in the history
  • Loading branch information
udif committed Apr 4, 2024
1 parent 19e619a commit 7e80d8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/ast/symbols/MemberSymbols.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ static void createTableRow(const Scope& scope, const UdpEntrySyntax& syntax,
return;
}

auto getstateChar = [](const UdpFieldBaseSyntax* base) -> char {
auto getStateChar = [](const UdpFieldBaseSyntax* base) -> char {
if (base && base->kind == SyntaxKind::UdpSimpleField) {
auto raw = base->as<UdpSimpleFieldSyntax>().field.rawText();
if (raw.size() == 1) {
Expand All @@ -1015,7 +1015,7 @@ static void createTableRow(const Scope& scope, const UdpEntrySyntax& syntax,
return 0;
};

auto stateChar = getstateChar(syntax.current);
auto stateChar = getStateChar(syntax.current);
if (!stateChar)
return;

Expand Down Expand Up @@ -1064,7 +1064,7 @@ static void createTableRow(const Scope& scope, const UdpEntrySyntax& syntax,
// This is an error if the existing row has a different output,
// otherwise it's just silently ignored.
auto existingOutput = getOutputChar(existing->next);
auto existingState = getstateChar(existing->current);
auto existingState = getStateChar(existing->current);
if (!((existingOutput == outputChar) ||
matchOutput(existingState, existingOutput, outputChar) ||
matchOutput(stateChar, outputChar, existingOutput))) {
Expand Down

0 comments on commit 7e80d8a

Please sign in to comment.