Skip to content

Commit

Permalink
This fully works, but is a terrible workaround
Browse files Browse the repository at this point in the history
We make it define 'space' as the primary property name not White_Space

This way it works, and both space and White_Space have the same property
code
  • Loading branch information
samcv committed Dec 27, 2016
1 parent 4234987 commit 960eefb
Show file tree
Hide file tree
Showing 4 changed files with 21,778 additions and 21,774 deletions.
2 changes: 1 addition & 1 deletion src/strings/ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1657,7 +1657,7 @@ static MVMint64 grapheme_is_cclass(MVMThreadContext *tc, MVMint64 cclass, MVMGra
return 0;
}
return MVM_unicode_codepoint_has_property_value(tc, cp,
MVM_UNICODE_PROPERTY_WHITE_SPACE, 1);
MVM_UNICODE_PROPERTY_SPACE, 1);

case MVM_CCLASS_BLANK:
if (cp == '\t')
Expand Down
Loading

0 comments on commit 960eefb

Please sign in to comment.