Skip to content
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

Fix name and description extraction #38

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

Linda-Njau
Copy link

Instructions with fewer than two inputs were missing their names and descriptions in the JSON output.

union clause ast = C_J : (bits(11))
union clause ast = EBREAK : unit

By moving the code blocks responsible for parsing and extracting names and descriptions from the tuple match block, all instructions now have their names and descriptions correctly extracted.

@ThinkOpenly
Copy link
Owner

Could you add the text you have in the PR description into the commit message, please?

@Linda-Njau Linda-Njau force-pushed the json branch 2 times, most recently from 51c6e53 to 3b9d66e Compare August 16, 2024 08:39
@Linda-Njau
Copy link
Author

Done : )

Could you add the text you have in the PR description into the commit message, please?

@Linda-Njau Linda-Njau force-pushed the json branch 2 times, most recently from 32bbb4c to 606d8f9 Compare August 16, 2024 09:26
Instructions with fewer than two inputs were missing their names and descriptions in the JSON output.

```
union clause ast = C_J : (bits(11))
```
```
union clause ast = EBREAK : unit
```

By moving the code blocks responsible for parsing and extracting names and descriptions from the tuple match block, all instructions now have their names and descriptions correctly extracted.
@ThinkOpenly ThinkOpenly merged commit 9b98866 into ThinkOpenly:json Aug 20, 2024
3 checks passed
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.

2 participants