Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
6 changes: 5 additions & 1 deletion src/fedex_plus/classes_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,11 @@ void SCOPEPrint( Scope scope, FILES * files, Schema schema, Express model,
if( t->search_id == CANPROCESS ) {
// Only selects haven't been processed yet and may still be set to
// CANPROCESS.
TYPEselect_print( t, files, schema );
if ( TYPEis_select( t ) )
TYPEselect_print( t, files, schema );
if ( TYPEis_enumeration( t ) )
TYPEprint_descriptions( t, files, schema );

t->search_id = PROCESSED;
}
SCOPEod;
Expand Down
11 changes: 11 additions & 0 deletions test/unitary_schemas/alias_type.exp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SCHEMA alias_type;

TYPE enum = ENUMERATION OF (
item1,
item2);
END_TYPE;

TYPE enum_alias = enum;
END_TYPE;

END_SCHEMA;