Commit Graph

714 Commits

Author SHA1 Message Date
Ove Kaaven 34e2f87f8f Handle encapsulated unions in a cleaner (and less buggy) way. Emit the
names "DUMMYUNIONNAME" and "DUMMYSTRUCTNAME" for anonymous unions and
structs. Support const and extern definitions. Retain tokens (and
whether numbers are hex or not) used for computing constant
expressions, so that the full expression can be written to the header
file instead of the computed integer result of the expression. Parse
the sizeof() operator.  Compute and remember constant definitions and
enum values so they can be used in expressions. Improved identifier
lookup speed. Fixed some bugs.
2002-11-30 01:49:46 +00:00
Gerald Pfeifer af53e11fa0 Avoid using labels at the end of commpound statements. 2002-11-24 22:12:40 +00:00
Ove Kaaven 189397795d Added "generate headers only" command-line option. Implemented imports
from inside interface definitions. Fixed a few problems with
generating header files for COM interfaces.
2002-11-21 00:02:38 +00:00
Alexandre Julliard 98f12a0db1 Make sure widl doesn't depend on the headers it has to generate. 2002-11-13 21:31:01 +00:00
Alexandre Julliard b1c3a89ade Moved rpc.h inclusion in widl-generated file so that tests compile. 2002-11-13 04:18:38 +00:00
Ove Kaaven 03c7d46806 Support for enums, arrays, encapsulated unions, signed/unsigned
qualifiers, UUIDs, include guards, the new ICOM_DEFINE1 macro, and
some other improvements.
2002-11-12 02:12:35 +00:00
Alexandre Julliard f08b186373 Try to derive temp file names from output file names for better
portability.
2002-08-27 22:29:26 +00:00
Dmitry Timoshkov c63d98038a Include protection for <unistd.h>, <sys/types.h> and <sys/stat.h>. 2002-08-17 18:28:43 +00:00
Alexandre Julliard ea97b39a79 Avoid dependencies on y.tab.h. 2002-08-13 03:30:58 +00:00
Alexandre Julliard 27189627cb Added explicit dependency on y.tab.h for lex output. 2002-08-10 00:03:08 +00:00
Gregg Mattinson 8c9bdcc9e1 Fixes for Sparc build. 2002-08-07 01:18:41 +00:00
Gerald Pfeifer 2cbbcc1875 #include <unistd.h> which is required for unlink(). 2002-07-25 23:57:54 +00:00
Alexandre Julliard 5f1565e7fd Explicitly specify the path to wpp.h so we don't need to change the
include path, to avoid conflicts with multiple y.tab.h files.
2002-07-20 19:00:52 +00:00
Alexandre Julliard 7d4ee77cab Merged the IDL compiler written by Ove Kaaven. 2002-07-16 03:20:45 +00:00