Skip to content

Conversation

@eagleoflqj
Copy link
Contributor

I'm in the middle of porting libskk with glib, and encountered a SyntaxError: Unexpected token '*'.
Given the value of cSig, jsArg and jsArgs in debugger view, it seems straightforward.

@eagleoflqj eagleoflqj force-pushed the dylink branch 3 times, most recently from c113518 to 8ed5164 Compare November 9, 2025 21:34
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This looks right.

I believe the test for it is other.test_em_js_side_module, runnable with

./test/runner other.test_em_js_side_module

Please add a ** pointer there, to test this.

@eagleoflqj eagleoflqj requested a review from kripken November 11, 2025 14:02
@sbc100 sbc100 changed the title fix addEmJs when parameter is indirect pointer [dylink] Fix addEmJs when parameter is indirect pointer Nov 11, 2025
@kripken
Copy link
Member

kripken commented Nov 11, 2025

Also see the failing test, an expectation needs to be updated. See instructions for that in the CI error.

@sbc100
Copy link
Collaborator

sbc100 commented Nov 11, 2025

Also see the failing test, an expectation needs to be updated. See instructions for that in the CI error.

I think just rebase should fix that

This is an automatic change generated by tools/maint/rebaseline_tests.py.

The following (2) test expectation files were updated by
running the tests with `--rebaseline`:

```
codesize/test_codesize_hello_dylink.json: 44307 => 44310 [+3 bytes / +0.01%]
codesize/test_codesize_hello_dylink_all.json: 819461 => 819464 [+3 bytes / +0.00%]

Average change: +0.00% (+0.00% - +0.01%)
```
@sbc100 sbc100 merged commit 9aabfb4 into emscripten-core:main Nov 14, 2025
34 checks passed
@eagleoflqj eagleoflqj deleted the dylink branch November 14, 2025 16:14
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.

3 participants