gh-100940: Change "char *str" to "const char *str" in KeywordToken: It is an immutable string. (#100936)

This commit is contained in:
Stepfen Shawn 2023-01-19 05:02:48 +08:00 committed by GitHub
parent 75c8133efe
commit a1e051a237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ typedef struct {
} Token;
typedef struct {
char *str;
const char *str;
int type;
} KeywordToken;