mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
toml: small clarification on utf8_max const (#12320)
This commit is contained in:
parent
943a807d30
commit
462d097bf5
@ -12,8 +12,8 @@ import encoding.utf8
|
|||||||
|
|
||||||
pub const allowed_basic_escape_chars = [`u`, `U`, `b`, `t`, `n`, `f`, `r`, `"`, `\\`]
|
pub const allowed_basic_escape_chars = [`u`, `U`, `b`, `t`, `n`, `f`, `r`, `"`, `\\`]
|
||||||
|
|
||||||
// utf8_max is the value of hex2int('10FFFF')
|
// utf8_max is the largest inclusive value of the Unicodes scalar value ranges.
|
||||||
const utf8_max = 1114111
|
const utf8_max = 0x10FFFF
|
||||||
|
|
||||||
// Checker checks a tree of TOML `ast.Value`'s for common errors.
|
// Checker checks a tree of TOML `ast.Value`'s for common errors.
|
||||||
pub struct Checker {
|
pub struct Checker {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user