mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
use global const ""
This commit is contained in:
parent
ab8c177e00
commit
bd76eef3aa
@ -595,8 +595,9 @@ char* Lexer_getOperator(Args* outBuffs, char* stmt) {
|
|||||||
return operator;
|
return operator;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char void_str[] = "";
|
||||||
|
|
||||||
void LexToken_update(struct LexToken* lex_token) {
|
void LexToken_update(struct LexToken* lex_token) {
|
||||||
const char void_str[] = "";
|
|
||||||
lex_token->type = Lexer_getTokenType(lex_token->token);
|
lex_token->type = Lexer_getTokenType(lex_token->token);
|
||||||
if (lex_token->type == TOKEN_strEnd) {
|
if (lex_token->type == TOKEN_strEnd) {
|
||||||
lex_token->pyload = (char*)void_str;
|
lex_token->pyload = (char*)void_str;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user