• Rémi Bernon's avatar
    widl: Support fully qualified names in WinRT mode. · 28093253
    Rémi Bernon authored
    Interfaces are going to reference each other across namespaces, so this
    implements a type lookup with the full name.
    
    It supports the following idl syntax in WinRT mode:
    
        #ifdef __WIDL__
        #pragma winrt ns_prefix
        #endif
    
        import "wtypes.idl";
    
        namespace Windows {
            namespace Foo {
                [object]
                interface IFoo {}
            }
            namespace Bar {
                [object]
                interface IBar { HRESULT DoBar([in] Windows.Foo.IFoo *foo); }
            }
        }
    
    That was previously failing to parse the Windows.Foo.IFoo part and to
    lookup the corresponding type.
    Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    28093253
parser.l 20.6 KB