last column/line of body expressions fixed 42/16842/3
authorCedric Delamarre <cedric.delamarre@scilab-enterprises.com>
Mon, 13 Jul 2015 15:38:11 +0000 (17:38 +0200)
committerCedric Delamarre <cedric.delamarre@scilab-enterprises.com>
Thu, 16 Jul 2015 10:11:30 +0000 (12:11 +0200)
commit7ba92b69ba78b6c524855f0cd79025053b03aeff
tree5c71366073554a2f1491910acc13829a22962184
parentdbbca0d8227200bb1d17f116a55d57c5f1b258ce
last column/line of body expressions fixed

start scilab with --AST-trace flag then with a function like :

function test()
a=1;
endfunction

the last column and line of the SeqExp (the body)
must be point to le last line/column of the AssignExp (a=1;)
instead of the first column of the next line ("e" of endfucntion)

Change-Id: I5a7767a1fa604204b4120600d9b65933eb526f9b
scilab/modules/ast/src/cpp/parse/bison/parsescilab.yy
scilab/modules/ast/src/cpp/parse/parsescilab.cpp