office-gobmx/unoidl/source
Stephan Bergmann 741f88c9ec Some improvements to the UNOIDL SourceTreeProvider
Trying to do

$ instdir/sdk/bin/unoidl-read udkapi

(i.e., parsing the udkapi/com/sun/star/**.idl tree and printing it out): first
failed with

> Bad input <file:///.../udkapi/com/sun/star/beans/theIntrospection.idl>: source file defines more than one entity

because of its

> published interface XIntrospection;

forward declaration, so ignore such interface forward declarations; then failed
with

> Bad input <file:///.../udkapi/com/sun/star/modules.idl>: source file defines no entity

because "this file contains documentation of the modules", so ignore such
effectively empty files; then failed with

> Bad input <file:///.../udkapi/type_reference/udkapi.idl>: source file defines more than one entity

so instead do

$ mkdir TMP
$ cp -r udkapi/com TMP/
$ instdir/sdk/bin/unoidl-read TMP
$ rm -r TMP

which succeeded.

Change-Id: I465052539b474733e7945b312c996af27a034335
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164094
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-02-28 16:01:38 +01:00
..
legacyprovider.cxx
legacyprovider.hxx
sourcefileprovider.cxx
sourcefileprovider.hxx
sourceprovider-parser-requires.hxx
sourceprovider-parser.y
sourceprovider-scanner.hxx
sourceprovider-scanner.l
sourcetreeprovider.cxx
sourcetreeprovider.hxx
unoidl-check.cxx
unoidl-read.cxx
unoidl-write.cxx
unoidl.cxx
unoidlprovider.cxx
unoidlprovider.hxx