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 16 years ago

Last modified 16 years ago

#743 closed defect

Syntax error makes TOL break down — at Initial Version

Reported by: César Pérez Álvarez Owned by: Víctor de Buen Remiro
Priority: normal Milestone: Mantainance
Component: Kernel Version: 1.1.7
Severity: major Keywords:
Cc:

Description

If you compile this function makes TOL break down with no error message.


Set GrammarSet(Text nameStruct)
{

Set grammarSet = Case
(

nameStruct == "ModelOutput",
SetOfText
(

"Text", "Text", "Date", "Date",
"Real", "Real", "Set", "Set", "Set"

),
nameStruct == "ModelInput",
SetOfText
(

"Text", "Text", "Real", "Text",
"Text", "Set"

)
1, Empty

);
grammarSet

};


Actually, there is a syntax error in the last condition clause. There is a missing comma.

Change History (0)

Note: See TracTickets for help on using tickets.