diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-12-16 10:02:14 +0100 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-12-16 11:39:19 +0100 |
commit | 591a47002d9d759256b4b29e56a1e1303a421167 (patch) | |
tree | 644be17e60c31c3fda8776b725efd88f7d2cee35 /bindings | |
parent | ed9c981989f007a124dc22dcde28284395053764 (diff) | |
download | lasso-591a47002d9d759256b4b29e56a1e1303a421167.tar.gz lasso-591a47002d9d759256b4b29e56a1e1303a421167.tar.xz lasso-591a47002d9d759256b4b29e56a1e1303a421167.zip |
[xml] change saml_advice.h to declarer the real node type
It also needed a change to bindings.py to parse struct as well as
typedef node classes.
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/bindings.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/bindings.py b/bindings/bindings.py index def735e7..0caf114a 100644 --- a/bindings/bindings.py +++ b/bindings/bindings.py @@ -483,6 +483,9 @@ def parse_header(header_file): pass else: # TODO: Add parsing of OFTYPE + # Transform struct to typedef + # example: "struct _LassoAssertion" -> "LassoAssertion" + line = re.sub('\s+struct _', ' ', line) member_match = re.match('\s+(\w+)\s+(\*?\w+)', line) if member_match: member_type, member_name = normalise_var(member_match.group(1), member_match.group(2)) |