Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion idlpy/src/naming.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,9 @@ char *relative_or_imported_struct_name_nonquoted(idlpy_ctx ctx, const void *node
if (idlpy_ctx_is_module_current(ctx, module_name)) {
// relative
free(module_name);
return idl_strdup(idl_identifier(node));
//Reserved Python keywords support (Issue 105 and 173)
return idl_strdup(idlpy_identifier(node));
////////////////////////////////
} else {
// absolute
char *ret;
Expand Down