pidl:NDR/Parser: $size can be 'foo / 2' so we need to add '(' and ')'
commit519b4a2139881567ca1173a65d33420a2cfcce7a
authorStefan Metzmacher <metze@samba.org>
Wed, 25 Nov 2009 13:21:32 +0000 (25 14:21 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 23 Dec 2009 11:07:38 +0000 (23 12:07 +0100)
treee4acd4ccf185c69c2356cf7c9536336aa5c7fe0b
parent8b63a9f4d52d4517a52d2a427797dd5316e178af
pidl:NDR/Parser: $size can be 'foo / 2' so we need to add '(' and ')'

foo / 5 * sizeof(bar)' isn't the same as
'(foo / 2) * sizeof(bar)'.

metze
(cherry picked from commit ab1c92950f3cfdc8c52b772ecef23a5477f48f9d)
(cherry picked from commit d0d77d830072fbb5bda1c45f9df0722718f89096)
pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm