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

Closed 21 years ago

Last modified 18 years ago

#74 closed enhancement (fixed)

Compiling problem whit anything variable

Reported by: Lander Ibarra Iriondo Owned by: danirus
Priority: normal Milestone:
Component: TimeSetAlgebra Version: head
Severity: minor Keywords:
Cc: Javier Portugal

Description

Tol doesn´t compile this expression alone:

Serie CalInd(In(y2004m01d12, y2004m06d15) * WD(1), Diario);

But curiously this other expressions works:

Serie CalInd(In(y2004m01d12, y2004m06d15) * WD(1), Diario);
Serie CalInd(In(y2004m01d12, y2004m06d15) * WD(1), Diario);

And the first argument of the expression isn´t relevant for this problem.

Change History (6)

comment:1 Changed 21 years ago by danirus

Status: newassigned

comment:2 Changed 21 years ago by danirus

Resolution: fixed
Status: assignedclosed

This bug has been resolved in CVS. (only language.cpp affected)

Although you do not see nothing when use F9 to compile under Eval panel in
Tolbase, Tol compile perfectly that sentence.
If you assign the result of that sentence to a variable, you can see a new
variable in the console with the result of that call.

The problem in this case was that MultyEvaluate (the method used by Tolbase to
parsing and executing a syntactical tree) was using Set as BGrammar object.
Implemented solution try to get a BGrammar object of the same type as the
first token of Syntactical Tree.

comment:3 Changed 21 years ago by danirus

Component: TYPE_AnythingTYPE_Serie
Priority: highestnormal
Severity: criticalenhancement

comment:4 Changed 21 years ago by Jorge

Cc: Javier Portugal added

comment:5 Changed 21 years ago by Jorge

* Bug 73 has been marked as a duplicate of this bug. *

comment:6 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000074
Note: See TracTickets for help on using tickets.