Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Gagis committed Feb 8, 2024
1 parent 5ee9111 commit c6ac40e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions src/tst/util.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ struct full_id {

inline bool is_valid_id_char(char c)
{
return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || ('0' <= c && c <= '9') || c == '_' || c == '['
|| c == ']';
return //
('a' <= c && c <= 'z') || //
('A' <= c && c <= 'Z') || //
('0' <= c && c <= '9') || //
c == '_' || //
c == '[' || //
c == ']';
}

void validate_id(std::string_view id);
Expand Down
2 changes: 1 addition & 1 deletion tool-configs

0 comments on commit c6ac40e

Please sign in to comment.