Skip to content

Rebase #58 and add tests#159

Draft
DimitriPapadopoulos wants to merge 3 commits into
json-parser:masterfrom
DimitriPapadopoulos:bogbert
Draft

Rebase #58 and add tests#159
DimitriPapadopoulos wants to merge 3 commits into
json-parser:masterfrom
DimitriPapadopoulos:bogbert

Conversation

@DimitriPapadopoulos

@DimitriPapadopoulos DimitriPapadopoulos commented Dec 29, 2021

Copy link
Copy Markdown
Contributor

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