Closed Bug 94192 Opened 25 years ago Closed 25 years ago

Typedef lookups don't work

Categories

(Core Graveyard :: Java to XPCOM Bridge, defect)

All
Windows NT
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: edburns, Assigned: blackconnect)

References

()

Details

This depends on bug 94186. If 94186 is fixed, this bug will manifest itself. This bug prevents the type mapping stored in xpidl_java.c: static gboolean type_declaration(TreeState *state) from being useful in an #include file case. Like this A.idl: typedef long AType; B.idl: #include "A.idl" void f(AType t); AType is not understood because, for some reason the type_declaration() method isn't called on processing of includes.
Depends on: 94186
The fix for 94186 fixed this bug. -- This bug happened because typedef lookup was not called in a right time. See fix for 94186 for the datails
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
This bug should be reopened. The fix for bug #94186 doesn't fix this, since xpidl_idl.c uses a separate parse tree for each #include'd file, so the typedefs from the #include-file aren't accessible when parsing the including- file. See patch for bug #123651 for details.
Depends on: 123651
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.