macr2tree produces a segfault when some expressions are used
Reported by Pierre Vuillemin
BUG DESCRIPTION:
----------------
Using the routine macr2tree on a function that contains the expression:
ver()(1,2)
crashes scilab (version 6.1.0.1493127466).
HOW TO REPRODUCE THE BUG:
-------------------------
Launch macr2tree on the following function:
function test(x)
SCI_VER = ver()(1,2)
endfunction
OTHER INFORMATION:
------------------
There is no issue when the expression is splitted, i.e.
tmp = ver()
SCI_VER = tmp(1,2)