pidl:NDR/Parser: $size can be 'foo / 2' so we need to add '(' and ')'
commite58955fd4ca1500e58045417711b469a485419af
authorStefan Metzmacher <metze@samba.org>
Wed, 25 Nov 2009 13:21:32 +0000 (25 14:21 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 26 Nov 2009 10:49:57 +0000 (26 11:49 +0100)
tree05cf6ef5b936223e5dd5532c0c704fa71d34b396
parent62df932f9dc333f69bf901fe88bfac6fc4e59bcd
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