#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
Status: | new → assigned |
---|
comment:2 Changed 21 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 21 years ago by
Component: | TYPE_Anything → TYPE_Serie |
---|---|
Priority: | highest → normal |
Severity: | critical → enhancement |
comment:4 Changed 21 years ago by
Cc: | Javier Portugal added |
---|
comment:6 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000074 |
---|
Note: See
TracTickets for help on using
tickets.
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.