﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
235	Parsing problems with Matrix Literal declaration in a SetOfMatrix	danirus	danirus	"Tol accepts:
//___________________________
Matrix mat1 = ((0,0));
Set smat1 = SetOfMatrix( mat1 );

But not:
//___________________________
Set smat2 = SetOfMatrix( ((1,1)) );

It's a Parsing problem. 
With two Literal Matrix definition (two Matrix elements in the Set), there's no
problem. 
The next three syntactical trees show us the problem:

Sentence:  ""Set smat1 = SetOfMatrix( mat1 );""
Syntactical Tree:
   ----> [BINARY]=
    |----> [TYPE]Set
    | |----> [ARGUMENT]setmat
    |----> [FUNCTION]SetOfMatrix
      |----> [ARGUMENT](mat1)

Sentence:  ""Set smat1 = SetOfMatrix( ((1,1)) );""
Syntactical Tree:
   ----> [BINARY]=
    |----> [TYPE]Set
    | |----> [ARGUMENT]setmat
    |----> [FUNCTION]SetOfMatrix
      |----> [ARGUMENT]1
      |----> [ARGUMENT]1

Sentence:  ""Set smat1 = SetOfMatrix( ((0,0)) , ((1,1)) );""
Syntactical Tree:
   ----> [BINARY]=
    |----> [TYPE]Set
    | |----> [ARGUMENT]setmat
    |----> [FUNCTION]SetOfMatrix
      |----> [SEPARATOR](,)
      | |----> [ARGUMENT]0
      | |----> [ARGUMENT]0
      |----> [SEPARATOR](,)
        |----> [ARGUMENT]1
        |----> [ARGUMENT]1

Probably we have to apply a patch in the Sentence Evaluator (Semantic Analysis)
instead of applying it in the Syntactic Analysis. That's because Tol has a bad
parser design."	defect	closed	normal		Kernel	head	normal	later		
