Opened 17 years ago

Closed 17 years ago

#265 closed defect (fixed)

Mussa annotation file didn't work if the last sequence wasn't terminated by a newline

Reported by: diane Owned by: diane
Priority: major Milestone: release_1.1
Component: core Version:
Keywords: Cc:

Description

for some unknown reason if the last sequence in an annotation file wasn't terminated by a new line, spirit ended up duplicating the last character. Needless to say this meant that it wouldn't always align properly.

I installed a hack into push_back_seq::operator() that checks for this condition and removes the duplicated character if the bug was triggered.

Needless to say if spirit (or my grammar) gets fixed and this bug goes away the hack will need to be removed. I think the sequence equality tessts in test_sequence::sequence_no_trailing_newline should trip if the last character doesn't get duplicated.

Change History (1)

comment:1 by diane, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in [569] (at least for the case of sequence based annotations.

Note: See TracTickets for help on using tickets.