Merge pull request #101878 from Chubercik/automate_char_range

Core: Automate generation of the `char_range.inc` file
This commit is contained in:
Thaddeus Crews 2025-03-07 15:12:31 -06:00
commit bb8ef4e052
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
2 changed files with 141 additions and 1 deletions

View file

@ -28,6 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
// This file was generated using the `misc/scripts/char_range_fetch.py` script.
#ifndef CHAR_RANGE_INC
#define CHAR_RANGE_INC
@ -43,7 +45,7 @@ struct CharRange {
constexpr inline CharRange xid_start[] = {
{ 0x41, 0x5a },
{ 0x5f, 0x5f }, // Underscore technically isn't in XID_Start, but for our purposes it's included.
{ 0x5f, 0x5f },
{ 0x61, 0x7a },
{ 0xaa, 0xaa },
{ 0xb5, 0xb5 },