Skip to content

Rebase #58 and add tests #159

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Dec 29, 2021

See #58.

eg: the JSON string "\ud841\udf31" should contain the character with the unicode scalar value U+20731, not U+10731
@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as draft December 29, 2021 21:10
@DimitriPapadopoulos DimitriPapadopoulos force-pushed the bogbert branch 5 times, most recently from 2e7803f to a2283bd Compare December 29, 2021 21:59
json.c: In function ‘json_parse_ex’:
json.c:359:42: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
  359 |                         uchar = 0x010000 + ((uchar & 0x3FF) << 10) | (uchar2 & 0x3FF);
      |                                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant