bugPSPP - Bugs: bug #12858, LAG in a compound expression fires...

 
 

bug #12858: LAG in a compound expression fires an assertion.

Submitted by:  John Darrington <jmd>
Submitted on:  Thu 28 Apr 2005 08:00:30 AM UTC  
 
Category: Syntax ParserSeverity: 7 - Major
Status: FixedAssigned to: Ben Pfaff <blp>
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 29 Apr 2005 01:58:28 AM UTC, comment #2:

Previous fix was close...but not quite right. Should be fixed now.

Ben Pfaff <blp>
Project AdministratorIn charge of this item.
Fri 29 Apr 2005 01:32:04 AM UTC, comment #1:

The fix seemed to be simple enough, so I've checked it in. But I'm leaving this bug open so that Ben can have a look to make sure I've not done anything stupid.

A fix has been checked in to the CVS repository

John Darrington <jmd>
Project Administrator
Thu 28 Apr 2005 08:00:30 AM UTC, original submission:

This syntax causes an assertion failure:

DATA LIST LIST /x.
BEGIN DATA
2
END DATA.

DO IF (x <> LAG(x) ).
ECHO 'hello'.
END IF.

EXECUTE.

It seems that n_lag is not getting initialised in expressions/parse.c (or anywhere).

John Darrington <jmd>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 29 Apr 2005 01:58:28 AM UTCblpStatusIn Progress=>Fixed
  Open/ClosedOpen=>Closed
Fri 29 Apr 2005 01:32:04 AM UTCjmdStatusNone=>In Progress

Back to the top


Powered by Savane 3.1-cleanup1