#114 closed defect (fixed)
Tol goes down with a erroneus (incomplete) series expresion
Reported by: | request | Owned by: | danirus |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Kernel | Version: | head |
Severity: | critical | Keywords: | |
Cc: |
Description
Tol goes down with a erroneus (incomplete) series expresion
Note that the first expresion end with a +
The old TOL Version 2.0.2000.06.09 said:
Bad use for "=" in =Step(y2003m01d01, D(1))+
Serie ser01 = Step(y2003m01d01, D(1)) +
Serie ser02 = Step(y2004m01d01, D(1));
Change History (4)
comment:1 Changed 21 years ago by
Status: | new → assigned |
---|
comment:2 Changed 21 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000114 |
---|
Note: See
TracTickets for help on using
tickets.
This bug has just been resolved.
The problem was a Null Pointer access in Unparse method of BParser class.
A new version of par.cpp with the solution has been released in Tol CVS.
By other way, Tol Kernel considers that the error is on second "=" symbol,
instead of the first. This has much sense and can be seen when analyzing the
Syntactical Tree.
Until the second equal symbol the sentence is a valid Tol sentence.
Then you can see a message like:
Serie ser01 = Step(y2003m01d01, D(1)) + Serie ser02 = Step(y2004m01d01, D(1));
ERROR: Uso indebido de "=" en
Step(y2004m01d01, D(1))