osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
36 stars 8 forks source link

Parsing errors #10

Closed juli1 closed 12 years ago

juli1 commented 12 years ago

Hello,

The following AADL code does not report any error when parsing while it obviously has an error : the last "end riu.i" would be "end riu_current.i";

package test2

public

system riu end riu;

system implementation riu.i end riu.i;

system riu_current extends riu end riu_current;

system implementation riu_current.i extends riu.i

end riu.i;

end test2;

reteprelief commented 12 years ago

Julien,

currently the parser does not check whether the name after the end matches the defining name. It is on the todo list.

osate commented 12 years ago

Taken care of. Pushed to develop branch of osate.