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

#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 danirus

Status: newassigned

comment:2 Changed 21 years ago by danirus

Resolution: fixed
Status: assignedclosed

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))

comment:3 Changed 21 years ago by request

Yes, the error has sense on second "=" symbol.

comment:4 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_000114
Note: See TracTickets for help on using tickets.