mpictor/StepClassLibrary — Issue #118: Related errors in AP242,AP210E3
Author: mpictor
Created: 2012-01-03 09:49:25+00:00
State: open

I think the following errors all have the same cause (an entity has the same name as an enum value). If so, this is related to #71, Redeclaration of XXX.

$ bin/fedex_plus ../data/cd242/242_n2813_mim_lf.exp
../data/cd242/242_n2813_mim_lf.exp:2278: --ERROR: Expected a type (or entity) but point is expression.
../data/cd242/242_n2813_mim_lf.exp:1102: --ERROR: Expected a type (or entity) but line is expression.
../data/cd242/242_n2813_mim_lf.exp:16015: --ERROR: Unknown supertype point for entity degenerate_pcurve.
../data/cd242/242_n2813_mim_lf.exp:6018: --ERROR: Unknown supertype point for entity point_on_surface.
../data/cd242/242_n2813_mim_lf.exp:448: --ERROR: Expected a type (or entity) but point is expression.
../data/cd242/242_n2813_mim_lf.exp:3777: --ERROR: Expected a type (or entity) but point is expression.
../data/cd242/242_n2813_mim_lf.exp:3488: --ERROR: Expected a type (or entity) but plane is expression.
../data/cd242/242_n2813_mim_lf.exp:9514: --ERROR: Unknown supertype point for entity cartesian_point.
../data/cd242/242_n2813_mim_lf.exp:3483: --ERROR: Expected a type (or entity) but plane is expression.
../data/cd242/242_n2813_mim_lf.exp:2798: --ERROR: Expected a type (or entity) but point is expression.
../data/cd242/242_n2813_mim_lf.exp:24492: --ERROR: Unknown subtype plane for entity elementary_surface.
Errors in input

If enum values and types/entities can have the same name, perhaps enums should use a separate dictionary.