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

Typedef names with identifiers not compiling correctly. #6

Open
Oblivious-Oblivious opened this issue Sep 29, 2020 · 0 comments
Open
Assignees
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@Oblivious-Oblivious
Copy link
Owner

In order for typedefs to be used in the code, we need to save the names in a structure of sorts, which right now does not work properly.

hashmap_add(typedef_names, string_get(string_dup(import_value)), (void*)true);
hashmap_add(object_names, string_get(string_dup(import_value)), (void*)true);

We add the names into a hashmap, however it still produces a parsing error.

@Oblivious-Oblivious Oblivious-Oblivious added bug Something isn't working invalid This doesn't seem right labels Sep 29, 2020
@Oblivious-Oblivious Oblivious-Oblivious self-assigned this Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant