mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
s/CodePoint/CodePt/g
This commit is contained in:
parent
69b1497907
commit
267836226c
25 changed files with 69 additions and 69 deletions
|
@ -18,7 +18,7 @@ fn ascii_hex_digits<'a>() -> impl Parser<'a, &'a str, EString<'a>> {
|
|||
// We didn't find any hex digits!
|
||||
return Err((
|
||||
NoProgress,
|
||||
EString::CodePointEnd(state.line, state.column),
|
||||
EString::CodePtEnd(state.line, state.column),
|
||||
state,
|
||||
));
|
||||
} else {
|
||||
|
@ -32,7 +32,7 @@ fn ascii_hex_digits<'a>() -> impl Parser<'a, &'a str, EString<'a>> {
|
|||
|
||||
Err((
|
||||
NoProgress,
|
||||
EString::CodePointEnd(state.line, state.column),
|
||||
EString::CodePtEnd(state.line, state.column),
|
||||
state,
|
||||
))
|
||||
}
|
||||
|
@ -257,9 +257,9 @@ pub fn parse<'a>() -> impl Parser<'a, StrLiteral<'a>, EString<'a>> {
|
|||
// give a canonicalization error if the digits form
|
||||
// an invalid unicode code point.
|
||||
let (_progress, loc_digits, new_state) = between!(
|
||||
word1(b'(', EString::CodePointOpen),
|
||||
word1(b'(', EString::CodePtOpen),
|
||||
loc(ascii_hex_digits()),
|
||||
word1(b')', EString::CodePointEnd)
|
||||
word1(b')', EString::CodePtEnd)
|
||||
)
|
||||
.parse(arena, state)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue