[ruby/prism] Update documentation for encodings

https://github.com/ruby/prism/commit/18e6df0d4f
This commit is contained in:
Kevin Newton 2023-12-06 14:26:27 -05:00 committed by git
parent 153c09f24b
commit 82072254a0
2 changed files with 3 additions and 3 deletions

View File

@ -4212,7 +4212,7 @@ pm_encoding_shift_jis_char_width(const uint8_t *b, ptrdiff_t n) {
} }
/** /**
* This is the table of all of the encodings that prisms supports. * This is the table of all of the encodings that prism supports.
*/ */
const pm_encoding_t pm_encodings[] = { const pm_encoding_t pm_encodings[] = {
[PM_ENCODING_UTF_8] = { [PM_ENCODING_UTF_8] = {

View File

@ -121,7 +121,7 @@ bool pm_encoding_utf_8_isupper_char(const uint8_t *b, ptrdiff_t n);
extern const uint8_t pm_encoding_unicode_table[256]; extern const uint8_t pm_encoding_unicode_table[256];
/** /**
* These are all of the encodings that prisms supports. * These are all of the encodings that prism supports.
*/ */
typedef enum { typedef enum {
PM_ENCODING_UTF_8 = 0, PM_ENCODING_UTF_8 = 0,
@ -218,7 +218,7 @@ typedef enum {
} pm_encoding_type_t; } pm_encoding_type_t;
/** /**
* This is the table of all of the encodings that prisms supports. * This is the table of all of the encodings that prism supports.
*/ */
extern const pm_encoding_t pm_encodings[PM_ENCODING_MAXIMUM]; extern const pm_encoding_t pm_encodings[PM_ENCODING_MAXIMUM];