pidl:NDR/Parser: $size can be 'foo / 2' so we need to add '(' and ')'
authorStefan Metzmacher <metze@samba.org>
Wed, 25 Nov 2009 13:21:32 +0000 (14:21 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 30 Nov 2009 13:44:54 +0000 (14:44 +0100)
commitd0d77d830072fbb5bda1c45f9df0722718f89096
tree49c09f3340fcb871d4a5e423971348269cba647c
parent93bbbd3cc776e4aa69239cb086067ec953fc8c8e
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)
pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm