New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unicode Character 'PARAGRAPH SEPARATOR' (U+2029) cannot be used to separate lines #3449
Comments
From @cokeS02-lexical-conventions/unicode.t has a test: eval_lives_ok "\{ 1 \} \x2029 \{ 1 \}" which currently fails. -- |
From @FROGGSFixed for MoarVM and JVM: Tests: Attempt to fix it for parrot: Inline Patchdiff --git a/tools/dev/gen_charset_tables.pl b/tools/dev/gen_charset_tables.pl
index 2d39969..fb65f19 100755
--- a/tools/dev/gen_charset_tables.pl
+++ b/tools/dev/gen_charset_tables.pl
@@ -77,7 +77,7 @@ sub classify {
$ret |= 0x0200 if $chr =~ /^[[:cntrl:]]$/; # CCLASS_CONTROL
$ret |= 0x0400 if $chr =~ /^[[:punct:]]$/; # CCLASS_PUNCTUATION
$ret |= 0x0800 if $chr =~ /^[[:alnum:]]$/; # CCLASS_ALPHANUMERIC
- $ret |= 0x1000 if $chr =~ /^[\n\r\f\x85]$/; # CCLASS_NEWLINE
+ $ret |= 0x1000 if $chr =~ /^[\n\x0b\r\f\x85\x{2028}\x{2029}]$/; # CCLASS_NEWLINE
$ret |= 0x2000 if $chr =~ /^[[:alnum:]_]$/; # CCLASS_WORD
return $ret;
|
The RT System itself - Status changed from 'new' to 'open' |
From @FROGGSParrot PR added: parrot/parrot#1087 |
From @usev6With the latest Parrot the tests pass on all backends again. I unfudged the tests with commit Raku/roast@d6e7e47647 and I'm closing this ticket now. |
1 similar comment
From @usev6With the latest Parrot the tests pass on all backends again. I unfudged the tests with commit Raku/roast@d6e7e47647 and I'm closing this ticket now. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#122341 (status was 'resolved')
Searchable as RT122341$
The text was updated successfully, but these errors were encountered: