Skip to content

Commit

Permalink
Removed redundant semicolons.
Browse files Browse the repository at this point in the history
  • Loading branch information
Possseidon committed Jun 4, 2022
1 parent eaa9a9b commit 565ad66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dang-utils/tests/parsing/test-lexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ TEST_CASE("The UTF-8 lexer uses UTF-8 code points as tokens.", "[lexer]")
}
}

constexpr bool isWhitespace(char c) { return c == ' '; };
constexpr bool isAlpha(char c) { return c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z'; };
constexpr bool isWhitespace(char c) { return c == ' '; }
constexpr bool isAlpha(char c) { return c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z'; }

using WhitespaceToken = TakeWhile<isWhitespace>;
using CommaToken = Char<','>;
Expand Down

0 comments on commit 565ad66

Please sign in to comment.