pidl: Do not call mapTypeName() on expression
authorJo Sutton <josutton@catalyst.net.nz>
Tue, 13 Feb 2024 00:17:28 +0000 (13:17 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 16 Feb 2024 02:41:36 +0000 (02:41 +0000)
commitf2a3c186c365f0e864dfe6734fcec0bf14bc4f3f
treedb7fb5f397304aa6677ae6052a2c8599ca746c3c
parent2d3712906dc72c229ba5d5f84399f105a0b158bc
pidl: Do not call mapTypeName() on expression

$var_name is not a type name, but an expression, such as ‘r->in.server’.
mapTypeName() will turn this into ‘struct r->in.server’, which makes no
sense.

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
pidl/lib/Parse/Pidl/Samba4/Python.pm