close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#578 closed defect (fixed)

ParameterInf

Reported by: cperales Owned by: danirus
Priority: normal Milestone:
Component: SetAlgebra Version: 1.1.6
Severity: normal Keywords:
Cc:

Description

This instruction:

Set ParameterInf = 1 ? ;

Gives this error:

ERROR: [12] Símbolo binario = fuera de lugar en el carácter 18, línea 1:

Set ParameterInf = 1 ? ;


Changing the Set name, the error disapear.

Thanks for all

Change History (2)

comment:1 Changed 17 years ago by cperales

Resolution: fixed
Status: newclosed

It is a Structthis is why you cannot create a Set with the same name.

comment:2 Changed 17 years ago by Víctor de Buen Remiro

ParameterInf is a Struct name and cannot be used as variable name because Struct names works as unary operators, in the same way than grammar names (Real, Text, ...)

The parser error is certainly non obvious but is too difficult enhance it until TOL parser will be rewritten.

Thanks for reporting

Note: See TracTickets for help on using tickets.