mirror of
https://github.com/nothings/stb
synced 2025-03-27 21:12:54 +03:00
Merge 587dbafa91218228b29154cfa992d13b7db59d29 into 5c205738c191bcb0abc65c4febfa9bd25ff35234
This commit is contained in:
commit
8a7be7c67a
@ -672,7 +672,7 @@ int stb_c_lexer_get_token(stb_lexer *lexer)
|
||||
return stb__clex_token(lexer, CLEX_parse_error, start,start);
|
||||
if (p == lexer->eof || *p != '\'')
|
||||
return stb__clex_token(lexer, CLEX_parse_error, start,p);
|
||||
return stb__clex_token(lexer, CLEX_charlit, start, p+1);
|
||||
return stb__clex_token(lexer, CLEX_charlit, start, p);
|
||||
})
|
||||
goto single_char;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user