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

CreateDynamicImport(0) should not parse comments #33

Open
michkowalczuk opened this issue Dec 14, 2023 · 3 comments
Open

CreateDynamicImport(0) should not parse comments #33

michkowalczuk opened this issue Dec 14, 2023 · 3 comments

Comments

@michkowalczuk
Copy link

Static (default) mode in Chet is more stable than dynamic.
Example:
In static mode Chet returns code with comments correctly moved from C header.
In my case this comment contains string:

/**
The outer loop to be set for the face. If the
function succeeds, this loop will be deallocated.
*/

After using CreateDynamicImport(0) Chet generates the following method, which is a bug:
succeeds := GetProcAddress(aDLLHandle, 'succeeds');

@jarroddavis68
Copy link
Contributor

jarroddavis68 commented Dec 14, 2023

Yup, I'm working on fixing this. Big update to post processing coming.

Another issue I recently discovered too is advanced records, it will try to do the same. So I have to figure out these corner cases.

@michkowalczuk
Copy link
Author

Please update this thread once you've fixed it.

@jarroddavis68
Copy link
Contributor

Please update this thread once you've fixed it.

Will do.

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

No branches or pull requests

2 participants