1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

19 Commits

Author SHA1 Message Date
Jelmer Vernooij
035adfb943 r21681: Fix bug in the parsing code that parsed "struct foo;" the same as
"struct foo {};".

Reported by one of the OpenChange folks, thanks!
(This used to be commit d65b520f08ea4ee82c35ff334a58aa6ffc403d67)
2007-10-10 14:49:10 -05:00
Jelmer Vernooij
8cf122c2d2 r21430: Support tagged types without typedef. This means:
struct foo {
 ...
};

in IDL will now work. This is the first step towards nested types and
using typedefs for partial types (such as "typedef int *bar;"), a requirement
for complex uses of represent_as().
(This used to be commit a716aa70f0c90898e6fcf57d63a2cf4c40e7d4df)
2007-10-10 14:48:32 -05:00
Jelmer Vernooij
cfa230c480 r20625: Fix couple of warnings.
(This used to be commit 203076129b967ccc6258e807280dc1b75583a064)
2007-10-10 14:37:17 -05:00
Jelmer Vernooij
e2b62f7d41 r20550: Use standard error mechanism in parser.
Make sure errors are reported correctly.
(This used to be commit 9f794c55a60b09536d6e0dbadfc172e1e74497ff)
2007-10-10 14:36:53 -05:00
Jelmer Vernooij
9972dc2549 r19599: Fix --includedir.
(This used to be commit 0da2bbcf766dc25805ad583fae185045bb390a5f)
2007-10-10 14:25:01 -05:00
Jelmer Vernooij
863dcbfa06 r19588: Use include and import statements rather than depends() and helper().
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)
2007-10-10 14:24:58 -05:00
Jelmer Vernooij
d8ecabe452 r19585: Add support for some more standard IDL instructions:
- `include' (replaces helper())
 - `import' (replaces depends())

Add support for parsing importlib() - importlib() is now ignored (with a
warning), but no longer causes syntax errors.

helper() and depends() are now marked deprecated and will cause warnings.
(This used to be commit 1ccab71cb8a9e3db9448b6679d01ad00e1c1e9a3)
2007-10-10 14:24:57 -05:00
Jelmer Vernooij
5c3fd8e471 r19580: Add --includedir option.
(This used to be commit b076bfa39fefafcf30ac5be5056abfd629338fa5)
2007-10-10 14:24:56 -05:00
Jelmer Vernooij
c92781b333 r18194: Allow empty bitmap {} declarations.
(This used to be commit 084b5002b9a8c9790ce81480fe26d57e52789dbb)
2007-10-10 14:17:48 -05:00
Stefan Metzmacher
3d3bd93403 r17305: allow 'declare [...] union foo;'
metze
(This used to be commit 15d37004b70d097a1431fb4d41fef363ed654ac7)
2007-10-10 14:15:10 -05:00
Jelmer Vernooij
a4fe56c06a r12481: Move parser-specific utility functions to idl.yp, remove some unused functions
Allow the use of non-typedef structs and unions when declaring variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
(This used to be commit bc6b45e242c8d7b2ef1a6e6d3eb172c27afd952d)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
68ef82aac7 r12464: Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
(This used to be commit 975d8816db6697dab828941b69a740e3a0a2c272)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
e791dd73b9 r12462: Hide oo magic from callers of the parser
(This used to be commit 0c225d2978b11898d334ec2d6da910e0cca0f4cd)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
c008f951cf r11097: Allow pointers in "const"
(This used to be commit 88fcd56fb55ac3f7e1eef3b3c92a2593c79599d3)
2007-10-10 13:44:48 -05:00
Jelmer Vernooij
d9cdaccaa7 r10093: Fix the HF_FIELD conformance file command
(This used to be commit 0c0a4b55cff4079276073060dae91ff0c19af42f)
2007-10-10 13:37:52 -05:00
Jelmer Vernooij
c070fd6222 r10074: Pass CPP to pidl via environment variables rather then config.pm. This fixes the
standalone pidl build (as used for ethereal)
(This used to be commit 9c9ebd2214423c58357854f09bd744e13e807d8f)
2007-10-10 13:37:50 -05:00
James Peach
e6190e6be5 r10071: Configure checks for IRIX build environment. Test whether we can
use the MIPSPro 7.4 -c99 option to get C99 support. Try to find
a common perl that is more modern than /usr/bin/perl.
(This used to be commit 82fab8b747bf68d8548c6f0f2f4bff98bd428d22)
2007-10-10 13:36:34 -05:00
Jelmer Vernooij
c5fbb78244 r10014: Support ?, : and = in attribute arguments.
(This used to be commit 6a549f35583e71531bea56ce717635ad9499441a)
2007-10-10 13:36:29 -05:00
Jelmer Vernooij
efc03df292 r9459: Move pidl up one level (to prevent too much nesting)
(This used to be commit e48202275e60c18e464457d200daeb953386e221)
2007-10-10 13:34:17 -05:00