Skip to content

Commit

Permalink
Allow block comments for the table in the code.
Browse files Browse the repository at this point in the history
Switching to trailing comments doesn't read as well, and swift-format doesn't
actually align all the line trailing comments, so the one line that is shorted
would get it's comment indented compared to the rest so it doesn't read as well.
  • Loading branch information
thomasvl committed Sep 24, 2024
1 parent c9fbc33 commit 799b56e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/SwiftProtobuf/JSONScanner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ private func fromHexDigit(_ c: UnicodeScalar) -> UInt32? {
// known as "base64url" or the "URL-safe alphabet".
// Note that both "-" and "+" decode to 62 and "/" and "_" both
// decode as 63.
// swift-format-ignore: NoBlockComments
let base64Values: [Int] = [
/* 0x00 */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
/* 0x10 */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
Expand Down

0 comments on commit 799b56e

Please sign in to comment.